From abd0f4847326c8171b7085fc0945753fe7f2fc2e Mon Sep 17 00:00:00 2001 From: John Wiggins Date: Sun, 6 Sep 2015 08:27:32 +0200 Subject: [PATCH] Correct the docs build on Travis --- tools/travis_script.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/travis_script.sh b/tools/travis_script.sh index b5d3141a..0fc4eb13 100755 --- a/tools/travis_script.sh +++ b/tools/travis_script.sh @@ -9,8 +9,9 @@ section_end "Test.with.min.requirements" section "Build.docs" if [[ ($PY != 2.6) && ($PY != 3.2) ]]; then - export SPHINXBUILD="python $(which sphinx-build) -d $HOME/.cache/sphinx" - make html + pushd doc + python `which sphinx-build` -d $HOME/.cache/sphinx -W source build/html + popd fi section_end "Build.docs"