diff --git a/.travis.yml b/.travis.yml index dc0ff94a..3f54e17c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Brewfile b/Brewfile new file mode 100644 index 00000000..0c1b253e --- /dev/null +++ b/Brewfile @@ -0,0 +1,4 @@ +# used for testing framework +brew "cmocka" +# used for cross assembly of code for testing +brew "crosstool-ng"