From 4cf7a0cb7911575245597f74aa64631ab1b334b4 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Tue, 4 Apr 2017 18:25:27 +0200 Subject: [PATCH] split travis build into multiple jobs --- .travis.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7260420..8abd76c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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