Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor and timeouts #3

Merged
merged 19 commits into from
Jun 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea

cover.*.out
cover.out
tail_exporter
tail_exporter.i386
tail_exporter.amd64
tail_exporter.x86_64
22 changes: 16 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
language: go
go:
- 1.7

addons:
apt:
packages:
- libpcre3-dev
- '1.8'
cache:
directories:
- tools/bin
script:
- CONCURRENT_LINTERS=1 LINTER_DEADLINE=180s make all
- tools/bin/goveralls -coverprofile=cover.out -service=travis-ci
deploy:
provider: releases
api_key:
secure: LGUCs86T9/VKm+WjCyZ3yOT/t5g8QOZcy6p/ITa+Qze/l6cZAJHfBNeNQRBTj0PNU+LZvFKXvoe9Xr5rXXsN78BoZZYcFwRMlYJ4Tf3rhQOqe/GJ7fldOI33b7vX9C3ksl11ScrworJ21riv9c4uNyYbz/byvKd8XLCJ3C/HzCYgXxx7zr14orlqQIL2Hnxa4relZ1jb46EUPDzip1telMIasJ9t3lLBpmVWLLyV+aKEPhdIr2pgQ7SjiYjvS1DxjV54ZbB1P1usm4d+wSVnGSArMgntVtMN9pVsBEtgD7ZucUwTT7Ho+ZGCs1RbOns3WOpXIx1p1TssjpT1Gp2MYvWHnDV8BQBTRyGN1eKWSm6Tz1dmjc+exDTaotxzaiWs1oGJ6ydFOV/Z7bV4En4mPfTdciZ5VnpZa9Va/aX2NDg0y8wWpjMvyfq/KN/s+RK8LFhxLAiAqCA6yipWQikk741PbIygROLVF5sn+D9H5kalfECEkQs1f7ZU/sj0IKDIKSSp6Q5fv9CrtjM7sXOvPJPAf6kLkIZnGTuVFocvi7kXXnHilPjt4R1mQjdefLi1GG18+GgL3rbXqjfj0EUQKY+JySuc1vnZsnEaOIf1hUr1obnf3JBh/dth8Zms5TqV/xpwFta/OX4Ya3b0kfdXtJcMysmIE5QQ4mZK+8yV5PU=
file: tail_exporter.x86_64
on:
repo: wrouesnel/tail_exporter
tags: true
branch: master
83 changes: 83 additions & 0 deletions 3rdparty/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
pcre-8.40/.deps/
pcre-8.40/.libs/
pcre-8.40/Makefile
pcre-8.40/config.h
pcre-8.40/config.log
pcre-8.40/config.status
pcre-8.40/libpcre.la
pcre-8.40/libpcre.pc
pcre-8.40/libpcre16.pc
pcre-8.40/libpcre32.pc
pcre-8.40/libpcre_la-pcre_byte_order.lo
pcre-8.40/libpcre_la-pcre_byte_order.o
pcre-8.40/libpcre_la-pcre_chartables.lo
pcre-8.40/libpcre_la-pcre_chartables.o
pcre-8.40/libpcre_la-pcre_compile.lo
pcre-8.40/libpcre_la-pcre_compile.o
pcre-8.40/libpcre_la-pcre_config.lo
pcre-8.40/libpcre_la-pcre_config.o
pcre-8.40/libpcre_la-pcre_dfa_exec.lo
pcre-8.40/libpcre_la-pcre_dfa_exec.o
pcre-8.40/libpcre_la-pcre_exec.lo
pcre-8.40/libpcre_la-pcre_exec.o
pcre-8.40/libpcre_la-pcre_fullinfo.lo
pcre-8.40/libpcre_la-pcre_fullinfo.o
pcre-8.40/libpcre_la-pcre_get.lo
pcre-8.40/libpcre_la-pcre_get.o
pcre-8.40/libpcre_la-pcre_globals.lo
pcre-8.40/libpcre_la-pcre_globals.o
pcre-8.40/libpcre_la-pcre_jit_compile.lo
pcre-8.40/libpcre_la-pcre_jit_compile.o
pcre-8.40/libpcre_la-pcre_maketables.lo
pcre-8.40/libpcre_la-pcre_maketables.o
pcre-8.40/libpcre_la-pcre_newline.lo
pcre-8.40/libpcre_la-pcre_newline.o
pcre-8.40/libpcre_la-pcre_ord2utf8.lo
pcre-8.40/libpcre_la-pcre_ord2utf8.o
pcre-8.40/libpcre_la-pcre_refcount.lo
pcre-8.40/libpcre_la-pcre_refcount.o
pcre-8.40/libpcre_la-pcre_string_utils.lo
pcre-8.40/libpcre_la-pcre_string_utils.o
pcre-8.40/libpcre_la-pcre_study.lo
pcre-8.40/libpcre_la-pcre_study.o
pcre-8.40/libpcre_la-pcre_tables.lo
pcre-8.40/libpcre_la-pcre_tables.o
pcre-8.40/libpcre_la-pcre_ucd.lo
pcre-8.40/libpcre_la-pcre_ucd.o
pcre-8.40/libpcre_la-pcre_valid_utf8.lo
pcre-8.40/libpcre_la-pcre_valid_utf8.o
pcre-8.40/libpcre_la-pcre_version.lo
pcre-8.40/libpcre_la-pcre_version.o
pcre-8.40/libpcre_la-pcre_xclass.lo
pcre-8.40/libpcre_la-pcre_xclass.o
pcre-8.40/libpcrecpp.la
pcre-8.40/libpcrecpp.pc
pcre-8.40/libpcrecpp_la-pcre_scanner.lo
pcre-8.40/libpcrecpp_la-pcre_scanner.o
pcre-8.40/libpcrecpp_la-pcre_stringpiece.lo
pcre-8.40/libpcrecpp_la-pcre_stringpiece.o
pcre-8.40/libpcrecpp_la-pcrecpp.lo
pcre-8.40/libpcrecpp_la-pcrecpp.o
pcre-8.40/libpcreposix.la
pcre-8.40/libpcreposix.pc
pcre-8.40/libpcreposix_la-pcreposix.lo
pcre-8.40/libpcreposix_la-pcreposix.o
pcre-8.40/libtool
pcre-8.40/pcre-config
pcre-8.40/pcre.h
pcre-8.40/pcre_chartables.c
pcre-8.40/pcre_scanner_unittest
pcre-8.40/pcre_scanner_unittest-pcre_scanner_unittest.o
pcre-8.40/pcre_stringpiece.h
pcre-8.40/pcre_stringpiece_unittest
pcre-8.40/pcre_stringpiece_unittest-pcre_stringpiece_unittest.o
pcre-8.40/pcrecpp_unittest
pcre-8.40/pcrecpp_unittest-pcrecpp_unittest.o
pcre-8.40/pcrecpparg.h
pcre-8.40/pcregrep
pcre-8.40/pcregrep-pcregrep.o
pcre-8.40/pcretest
pcre-8.40/pcretest-pcre_printint.o
pcre-8.40/pcretest-pcretest.o
pcre-8.40/stamp-h1

11 changes: 11 additions & 0 deletions 3rdparty/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

pcre-8.40/Makefile:
( cd pcre-8.40 && ./configure )

all:
$(MAKE) -C pcre-8.40 all

clean:
$(MAKE) -C pcre-8.40 clean

.PHONY: all clean
1 change: 1 addition & 0 deletions 3rdparty/pcre-8.40.source
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://ftp.pcre.org/pub/pcre/pcre-8.40.tar.gz
Loading