Configure Travis for OS X build

It cannot build multi-platform right now.
This commit is contained in:
Erik Ekman 2014-04-22 22:06:01 +02:00
parent 17de589e7d
commit 50d7865967
1 changed files with 7 additions and 11 deletions

View File

@ -1,15 +1,11 @@
language: c
os:
- linux
- osx
compiler:
- clang
- gcc
#set language to objective-c to force osx build
#linux builds are done at http://buildbot.dev.kryo.se
before_install:
- if [ `uname` == "Linux" ]; then sudo apt-get update -qq && sudo apt-get install -qq check zlib1g-dev; fi
- if [ `uname` == "Darwin" ]; then brew update && brew install check; fi
language: objective-c
os: osx
before_install: brew update
install: brew install check
script: make && make test
install: true