mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-17 11:32:45 +08:00
Attempt to cache the sphinx-build intermediates on Travis.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user