Rework to hopefully fix the travis osx job

parent 85e3d442
...@@ -38,6 +38,7 @@ before_install: ...@@ -38,6 +38,7 @@ before_install:
brew update brew update
brew upgrade python brew upgrade python
brew install docutils sphinx-doc nghttp2 brew install docutils sphinx-doc nghttp2
export PATH="/usr/local/opt/sphinx-doc/bin:$PATH"
elif [[ -n "$CLANG" ]]; then elif [[ -n "$CLANG" ]]; then
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository -y \ sudo apt-add-repository -y \
...@@ -60,7 +61,6 @@ script: ...@@ -60,7 +61,6 @@ script:
- | - |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
export PYTHONPATH=`brew --prefix`/lib/python2.7/site-packages export PYTHONPATH=`brew --prefix`/lib/python2.7/site-packages
export PATH="/usr/local/opt/sphinx-doc/bin:$PATH"
fi fi
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
make -j3 distcheck make -j3 distcheck
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment