ref: 37be82ebcfa39152df5242a41a23e1d81552c6c1
parent: 0fbb694feda4ab4841a07762c7767301f3a68baf
author: Paul Brossier <piem@piem.org>
date: Sat Apr 30 10:58:59 EDT 2016
.travis.yml: user install on osx only, adding ~/Library/Python/2.7/bin to PATH
--- a/.travis.yml
+++ b/.travis.yml
@@ -63,7 +63,8 @@
- sox
install:
- - travis_retry pip install --user nose2
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make travis_retry pip install nose2; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make travis_retry pip install --user nose2; fi
script:
- echo make create_test_sounds disabled for now
@@ -70,7 +71,7 @@
- make build
- make build_python
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make test_python; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make test_python_osx; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then PATH="$HOME/Library/Python/2.7/bin/:$PATH" make test_python_osx; fi
- make clean_python
- make clean
- make distcheck