only build docs on linux and make sure docutils is installed

This commit is contained in:
arvidn 2015-10-07 01:09:50 -04:00
parent 41475a7f75
commit 4b5d64a065
1 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ addons:
- python2.7-dev - python2.7-dev
- g++-4.8 - g++-4.8
- ditaa - ditaa
- python3-docutils
before_install: before_install:
- git submodule update --init --recursive - git submodule update --init --recursive
@ -69,7 +70,7 @@ install:
- ccache -V && ccache --show-stats && ccache --zero-stats - ccache -V && ccache --show-stats && ccache --zero-stats
script: script:
- if [ $docs == "1" ]; then cd docs; make; cd ..; fi - if [[ $docs == "1" && $TRAVIS_OS_NAME == "linux" ]]; then cd docs; make RST2HTML=rst2html; cd ..; fi
- cd test - cd test
- bjam --hash -j3 warnings-as-errors=on variant=$variant -l900 $coverage_toolset $target - bjam --hash -j3 warnings-as-errors=on variant=$variant -l900 $coverage_toolset $target
# if we're building with code coverage, report it as soon as possible # if we're building with code coverage, report it as soon as possible