Travis: Add .travis.yml (same as in version 4.4)

This commit is contained in:
Francois-Xavier Le Bail 2015-05-25 18:54:36 +02:00
parent 1475daeea5
commit 95cfd9d2fe

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
language: c
env:
- BUILD_LIBPCAP=true
- BUILD_LIBPCAP=false
before_script:
- sudo apt-get install libssl-dev libssl0.9.8 libssl1.0.0
- if [ $BUILD_LIBPCAP == "true" ]; then ( cd ../ && git clone https://github.com/mcr/libpcap.git && cd libpcap && ./configure && make ); else sudo apt-get install libpcap-dev; fi
script:
- ./configure
- make
- make check