forked from premiere/premiere-libtorrent
fix docs build on travis
This commit is contained in:
parent
b8ed0164ff
commit
0810793372
|
@ -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++ : <warnings>off <cflags>-std=c99 <cxxflags>-std=c++98 <compileflags>-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
|
||||
|
|
Loading…
Reference in New Issue