summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-04-22 12:10:21 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-04-22 12:10:21 +0200
commit0f6b6059d9d4d36e1132af423ccac33267e910a5 (patch)
tree76fa917b696e8637c64d21d0f14ba9bc27eacbc4
parent0349b93a6689aa9a57e8cf4b686455155a23ffa5 (diff)
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 <tklauser@distanz.ch>
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
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