]> The Tcpdump Group git mirrors - tcpdump/commitdiff
add more tests to Travis build
authorDenis Ovsienko <[email protected]>
Tue, 26 Nov 2013 15:17:04 +0000 (19:17 +0400)
committerDenis Ovsienko <[email protected]>
Tue, 26 Nov 2013 15:17:04 +0000 (19:17 +0400)
Build with two compilers instead of one, test with and without IPv6.

.travis.yml

index fcad8779ac267323a458ba81603935f896747dcb..56747312ff8c8e6c58b9e210c864f3ed36053115 100644 (file)
@@ -1,13 +1,18 @@
 language: c
 
+compiler:
+  - gcc
+  - clang
+
 env:
-  - BUILD_LIBPCAP=true
+  - BUILD_LIBPCAP=true CONFARGS=''
+  - BUILD_LIBPCAP=true CONFARGS='--disable-ipv6'
 
 before_script:
   - sudo apt-get install libssl-dev libssl0.9.8 libssl1.0.0
   - if [ $BUILD_LIBPCAP == "true" ]; then ( cd ../ && git clone git://github.com/the-tcpdump-group/libpcap.git && cd libpcap && ./configure && make ); else sudo apt-get install libpcap-dev; fi
 
 script:
-  - ./configure
+  - ./configure $CONFARGS
   - make
   - make check