From eeef26ae594df3e30bd6f34d3e7b2dbaff836d14 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Tue, 22 Nov 2016 20:54:32 +0100 Subject: Add macOS build on Travis --- .travis.yml | 14 +++++++++++--- 1 file 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 -- cgit v1.2.3