diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index afff87d..d4cc30e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,9 +6,14 @@ language: c compiler: - gcc - clang +os: + - linux + - osx before_install: - - sudo apt-get update -qq - - sudo apt-get install -y autopoint automake expat libnuma-dev libcap-dev check + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y autopoint automake expat libnuma-dev libcap-dev check; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install expat check perl; fi script: autoreconf -fi && ./configure && make -j4 && make check notifications: email: |