Attempt to cache the sphinx-build intermediates on Travis.

This commit is contained in:
John Wiggins
2015-09-05 18:29:40 +02:00
parent e224b0dd7d
commit 8721bee3ef
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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:
+1 -1
View File
@@ -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"