TravisCI: fix script, add OSX builds

This commit is contained in:
Chocobo1 2016-01-26 01:23:19 +08:00
parent 8dcd666db6
commit cbcdab6669

View File

@ -1,12 +1,27 @@
sudo: required
dist: trusty
language: c language: c
os:
- linux
- osx
compiler: compiler:
- gcc - gcc
- clang - clang
before_install:
- sudo apt-get install libconfuse-dev # container-based builds
- sudo apt-get install libnl-3-dev libnl-route-3-dev sudo: false
- sudo apt-get install libncurses-dev addons:
# Change this to your needs apt:
script: ./.travis/run.sh packages:
# packages list: https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
- libconfuse-dev
- libncurses5-dev
- libnl-3-dev
- libnl-route-3-dev
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update > /dev/null && brew install confuse ; fi
script:
- ./.travis/run.sh