From f604b858e9cac791851a73df0e1a62d2a1eab1bf Mon Sep 17 00:00:00 2001 From: "Jamin X. Chen" Date: Tue, 13 May 2014 02:58:37 +0800 Subject: [PATCH] update .travis.yml --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 79a7d30..bfa13ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,10 @@ language: c + +env: + global: + - BUILD_LIBPCAP=true + +before_script: + - 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: scons \ No newline at end of file