split travis build into multiple jobs

This commit is contained in:
Steffen Jaeckel
2017-04-04 18:25:27 +02:00
parent 9a5fe8b96d
commit 4cf7a0cb79

View File

@@ -2,10 +2,14 @@ language: c
install:
- sudo apt-get update
- sudo apt-get -y install libtool pkg-config libexpat1-dev libxml2-dev libssl-dev check
script:
before_script:
- ./bootstrap.sh
- ./configure --without-libxml2 && make CFLAGS="-Wall -Werror" && make CFLAGS="-Wall -Werror" check-TESTS
- make clean
- ./configure --with-libxml2 && make CFLAGS="-Wall -Werror" && make CFLAGS="-Wall -Werror" check-TESTS
- make clean
- ./configure --disable-tls && make CFLAGS="-Wall -Werror" && make CFLAGS="-Wall -Werror" check-TESTS
script:
- ./configure ${CONFIGURE_OPT} && make CFLAGS="-Wall -Werror" && make CFLAGS="-Wall -Werror" check-TESTS
env:
- CONFIGURE_OPT="--without-libxml2"
- CONFIGURE_OPT="--with-libxml2"
- CONFIGURE_OPT="--disable-tls --without-libxml2"
- CONFIGURE_OPT="--disable-tls --with-libxml2"
matrix:
fast_finish: true