From 0810793372902ae1cea23fe9d7898d88061e5035 Mon Sep 17 00:00:00 2001 From: arvidn Date: Fri, 16 Jun 2017 08:08:33 -0400 Subject: [PATCH] fix docs build on travis --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4dcf67ce5..a654344af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,13 +49,13 @@ before_install: - git submodule update --init --recursive - if [ $TRAVIS_OS_NAME == "osx" ]; then brew update > /dev/null && brew install --quiet ccache boost-build boost-python; fi - 'if [[ $TRAVIS_OS_NAME == "osx" && $docs = "1" ]]; then - brew install --quiet docutils; + easy_install --user docutils; mkdir -p /Users/travis/Library/Python/2.7/lib/python/site-packages; echo ''import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")'' >> /Users/travis/Library/Python/2.7/lib/python/site-packages/homebrew.pth; easy_install --user Pygments; easy_install --user aafigure; brew install --quiet graphviz; - brew install --quiet Homebrew/python/pillow; + easy_install --user Pillow; fi' # disable simulations on OSX for now. It hangs on travis @@ -91,12 +91,12 @@ install: - 'echo "using darwin : cpp98 : ccache clang++ : off -std=c99 -std=c++98 -Wno-deprecated-declarations ;" >> ~/user-config.jam' - 'echo "using python : 2.7 ;" >> ~/user-config.jam' - ccache -V && ccache --show-stats && ccache --zero-stats - - if [[ $docs == "1" && $TRAVIS_OS_NAME == "osx" ]]; then rst2html.py --version; fi + - if [[ $docs == "1" && $TRAVIS_OS_NAME == "osx" ]]; then /Users/travis/Library/Python/2.7/bin/rst2html.py --version; fi script: # disable invoking docutils for now, until we can have a modern version of it - cd docs - - if [[ $docs == "1" && $TRAVIS_OS_NAME == "osx" ]]; then make RST2HTML=rst2html.py; fi + - if [[ $docs == "1" && $TRAVIS_OS_NAME == "osx" ]]; then make RST2HTML=/Users/travis/Library/Python/2.7/bin/rst2html.py AAFIGURE=echo; fi - cd .. - cd test