From 8721bee3ef9747a9d5548157e594833e360d6682 Mon Sep 17 00:00:00 2001 From: John Wiggins Date: Sat, 5 Sep 2015 18:29:40 +0200 Subject: [PATCH] Attempt to cache the sphinx-build intermediates on Travis. --- .travis.yml | 1 + tools/travis_script.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4c8ab126..6a282420 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ cache: # See http://docs.travis-ci.com/user/caching/#pip-cache directories: - $HOME/.cache/pip + - $HOME/.cache/sphinx - $HOME/.ccache addons: apt: diff --git a/tools/travis_script.sh b/tools/travis_script.sh index afb1cf41..9810f855 100755 --- a/tools/travis_script.sh +++ b/tools/travis_script.sh @@ -9,7 +9,7 @@ section_end "Test.with.min.requirements" section "Build.docs" if [[ ($PY != 2.6) && ($PY != 3.2) ]]; then - make html + SPHINXBUILD="python $(which sphinx-build) -d $HOME/.cache/sphinx" make html fi section_end "Build.docs"