summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2015-07-10 13:10:06 -0700
committerDavid Tolnay <dtolnay@gmail.com>2015-07-10 13:21:00 -0700
commit54add5ac9ae0b6abb11f4a5ccbac1b1ca38a4e27 (patch)
tree3f50a2d07fbf669f8d1ccbb8525a47820638b7e0 /.travis.yml
parentf183b57ed53fb24171f3c31c49dde0bea973accc (diff)
travis has whitelisted libonig-dev
https://github.com/travis-ci/travis-ci/issues/4123
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 2 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index 9df9f818..32074e25 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,31 +26,22 @@ install:
- wget http://ftp.debian.org/debian/pool/main/b/bison/bison_3.0.2.dfsg-2_amd64.deb
- ar p bison_3.0.2.dfsg-2_amd64.deb data.tar.xz | tar xJ
- - wget http://ftp.debian.org/debian/pool/main/libo/libonig/libonig-dev_5.9.6-1_amd64.deb
- - ar p libonig-dev_5.9.6-1_amd64.deb data.tar.xz | tar xJ
- - wget http://ftp.debian.org/debian/pool/main/libo/libonig/libonig2_5.9.6-1_amd64.deb
- - ar p libonig2_5.9.6-1_amd64.deb data.tar.xz | tar xJ
- - mv usr/lib/x86_64-linux-gnu/libonig.so* usr/lib
-
- if [ -n "$COVERAGE" ]; then pip install --user cpp-coveralls; fi
before_script:
- autoreconf -i
- ./configure
- --with-oniguruma=usr
YACC="usr/bin/bison -y"
$COVERAGE
script:
- - make -j4
- LDFLAGS="-Lusr/lib -R$(pwd)/usr/lib"
- BISON_PKGDATADIR=$(pwd)/usr/share/bison
+ - make -j4 BISON_PKGDATADIR=$(pwd)/usr/share/bison
- make check -j4
after_script:
- |
if [ -n "$COVERAGE" ]; then
- rm -rf .libs usr # don't care about coverage for libjq, bison, libonig
+ rm -rf .libs usr # don't care about coverage for libjq and bison
coveralls -e lexer.c -e parser.c -e jv_dtoa.c --gcov-options '\-lp'
fi