Install Sphinx; pushd/popd instead of cd

This commit is contained in:
Alex Clark 2015-09-30 09:37:54 -04:00
parent 8e05ae6fb8
commit 93a326dc01

View File

@ -23,6 +23,7 @@ install:
- "travis_retry pip install cffi"
- "travis_retry pip install nose"
- "travis_retry pip install check-manifest"
- "travis_retry pip install Sphinx"
# Pyroma tests sometimes hang on PyPy and Python 2.6; skip for those
- if [ $TRAVIS_PYTHON_VERSION != "pypy" && $TRAVIS_PYTHON_VERSION != "2.6" ]; then travis_retry pip install pyroma; fi
@ -47,7 +48,7 @@ script:
- if [ "$TRAVIS_PYTHON_VERSION" != "nightly" ]; then coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py; fi
- check-manifest --ignore "depends/*"
# Sphinx
- cd docs; make html; make linkcheck
- pushd docs; make html; make linkcheck; popd
after_success:
# gather the coverage data