Move to new OSX dependency management system (#900)

* Move to new OSX dependency management system

* Update Brewfile
This commit is contained in:
Stephen 2017-09-30 03:30:56 -07:00 committed by Nguyen Anh Quynh
parent d331b8f7d8
commit 7f8c3ef2f6
2 changed files with 5 additions and 1 deletions

View file

@ -1,7 +1,7 @@
language: c
sudo: false
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install cmocka crosstool-ng; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap Homebrew/bundle && brew bundle; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./install-cmocka-linux.sh; fi
script:
- make && make -C bindings/go && make -C bindings/go test && make test

4
Brewfile Normal file
View file

@ -0,0 +1,4 @@
# used for testing framework
brew "cmocka"
# used for cross assembly of code for testing
brew "crosstool-ng"