Build with two compilers instead of one, test with and without IPv6.
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