From 0f6b6059d9d4d36e1132af423ccac33267e910a5 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 22 Apr 2016 12:10:21 +0200 Subject: build: travis: Build with and without libGeoIP/zlib In order to catch problems with missing libGeoIP/zlib stubs already in Travis CI, use the DISABLE_{GEOIP,ZLIB} variables to the configure script in all possible combinations during the CI build. Signed-off-by: Tobias Klauser --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4775ff4..e64c40d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,8 @@ addons: - libnet1-dev - libcli-dev -script: CC=$CC ./configure && make CC=$CC +script: + - CC=$CC ./configure && make CC=$CC + - CC=$CC DISABLE_GEOIP=1 ./configure && make clean && make CC=$CC + - CC=$CC DISABLE_ZLIB=1 ./configure && make clean && make CC=$CC + - CC=$CC DISABLE_GEOIP=1 DISABLE_ZLIB=1 ./configure && make clean && make CC=$CC -- cgit v1.2.3-54-g00ecf