ref: e6c83dc285f07ee28e91a4685bead4146685914c
parent: c69c21901d5e11cec616cf0f5aa03155b9ef7cd7
author: Paul Brossier <piem@piem.org>
date: Mon May 16 03:47:31 EDT 2016
.travis.yml: always set PATH on osx
--- a/.travis.yml
+++ b/.travis.yml
@@ -71,9 +71,14 @@
- sox
before_install:
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sox; fi
+ - |
+ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+ brew update
+ brew install sox
+ export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
+ fi;
+
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis_retry pip install nose2; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_retry pip install --user nose2; fi
@@ -83,7 +88,7 @@
- make build
- make build_python
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make test_python; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then PATH="$HOME/Library/Python/2.7/bin/:$PATH" make test_python_osx; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make test_python_osx; fi
- make clean_python
- make clean
- make distcheck