.travis.yml: add shell variable OPTIONS

This commit is contained in:
Max Kellermann 2017-05-19 19:34:25 +02:00
parent 9939904b02
commit d19e7db09e
1 changed files with 2 additions and 1 deletions

View File

@ -24,8 +24,9 @@ install:
- test "$TRAVIS_OS_NAME" != "linux" || sudo apt-get install -qq g++-5
script:
- OPTIONS="--enable-test"
- test "$TRAVIS_OS_NAME" != "linux" || export CC=gcc-5 CXX=g++-5
- ./autogen.sh
- ./configure --disable-silent-rules --disable-dependency-tracking --enable-test
- ./configure --disable-silent-rules --disable-dependency-tracking $OPTIONS
- make
- make check