mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Make and build dist in travis-CI (#1356)
This commit is contained in:
17
.travis.yml
17
.travis.yml
@@ -55,6 +55,23 @@ script:
|
|||||||
- echo PATH=$PATH
|
- echo PATH=$PATH
|
||||||
- which bison
|
- which bison
|
||||||
- make BISON_PKGDATADIR=$PWD/usr/share/bison src/parser.c || make src/parser.c
|
- 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 -j4
|
||||||
- make check -j4
|
- make check -j4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user