use new travis osx image and brew (#935)

saves time not to run update
This commit is contained in:
Stephen 2018-01-04 18:29:49 -08:00 committed by Nguyen Anh Quynh
parent a5e7199082
commit dab5060005

View file

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