From 37be82ebcfa39152df5242a41a23e1d81552c6c1 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 30 Apr 2016 14:58:59 +0200 Subject: [PATCH] .travis.yml: user install on osx only, adding ~/Library/Python/2.7/bin to PATH --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9331f05d..b83a1996 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,14 +63,15 @@ addons: - 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 - 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 -- 2.11.0