aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 05acb12ba..630636075 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,21 @@
language: c
+os:
+ - osx
+ - linux
+
compiler:
- clang
- gcc
install:
- - sudo apt-get update || true
- - sudo apt-get install build-essential
- - sudo apt-get install libpcap-dev libtool autoconf automake autogen
+#macos
+ - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
+# - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libtool; fi
+#linux
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update || true; fi
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install build-essential; fi
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libpcap-dev libtool autoconf automake autogen; fi
before_script:
- ./autogen.sh