diff --git a/.travis.yml b/.travis.yml index 7b49d16d8..2fb77900d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,7 +58,6 @@ before_install: # we have to use python from brew rather than the system provided python # because of OSX System Integrity Protection, which prevents injecting # user-libraries (i.e. python modules) into system binaries (i.e. /usr/bin/python) - - 'if [[ $TRAVIS_OS_NAME == "osx" && "$python" == "1" ]]; then travis_retry brew install boost-python; brew upgrade python2; fi' - 'if [ "$docs" = "1" ]; then easy_install --user docutils; mkdir -p /Users/travis/Library/Python/2.7/lib/python/site-packages; @@ -68,6 +67,7 @@ before_install: travis_retry brew install graphviz hunspell; easy_install --user Pillow; fi' + - 'if [[ $TRAVIS_OS_NAME == "osx" && "$python" == "1" ]]; then travis_retry brew install boost-python python2; fi' - if [ "$coverage" == "1" ]; then pip install --user codecov;