aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-11-22 20:54:32 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-11-28 10:55:29 +0100
commiteeef26ae594df3e30bd6f34d3e7b2dbaff836d14 (patch)
treedf9b278d7d1289b588940248eca26669e396dc2d
parentd53b655c323017f1e664e29d146864e839448876 (diff)
Add macOS build on Travis
-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