From 4b5d64a065d2e237d8414ee93e21a485c5a7f408 Mon Sep 17 00:00:00 2001 From: arvidn Date: Wed, 7 Oct 2015 01:09:50 -0400 Subject: [PATCH] only build docs on linux and make sure docutils is installed --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 66fc23e58..28ed31bb5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,7 @@ addons: - python2.7-dev - g++-4.8 - ditaa + - python3-docutils before_install: - git submodule update --init --recursive @@ -69,7 +70,7 @@ install: - ccache -V && ccache --show-stats && ccache --zero-stats 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 - 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