diff options
author | Nicolas Williams <nico@cryptonector.com> | 2017-03-03 12:04:46 -0600 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2017-03-04 23:14:36 -0600 |
commit | 674e9fb7c29584f6591340a26e2e6156b1ed2c99 (patch) | |
tree | 9e7b5bc6a50b2d81415ffdabf2cc08dd7413c792 | |
parent | 687812320224e4e5de0080fdb708204891ddec84 (diff) |
Make and build dist in travis-CI (#1356)
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index bcba4269..3940e720 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,6 +55,23 @@ script: - echo PATH=$PATH - which bison - make BISON_PKGDATADIR=$PWD/usr/share/bison src/parser.c || make src/parser.c + # Make dist! + # + # Make it first to fail the build early, before we test with + # valgrind. + - make dist + # Build and test the dist (without valgrind) + - | + ( + tar xvf jq-`scripts/version`.tar.gz && + cd jq-`scripts/version` && + pwd && + ./configure --disable-valgrind --with-oniguruma=builtin YACC="$(which bison) -y" $COVERAGE && + make BISON_PKGDATADIR=$PWD/usr/share/bison src/parser.c || make src/parser.c && + make -j4 && + make check -j4 || true + ) + # Build and test the HEAD - make -j4 - make check -j4 |