summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <brettcannon@users.noreply.github.com>2017-05-16 21:28:21 (GMT)
committerGitHub <noreply@github.com>2017-05-16 21:28:21 (GMT)
commit5e2016dce92d66e6e1fb25e6ce39031d8c7d5412 (patch)
tree3239eaf7a955edca012904368c9083dedbdec7ee
parent8fc1ff51adb52c80f6bf78393413c72543bae3e1 (diff)
downloadcpython-5e2016dce92d66e6e1fb25e6ce39031d8c7d5412.zip
cpython-5e2016dce92d66e6e1fb25e6ce39031d8c7d5412.tar.gz
cpython-5e2016dce92d66e6e1fb25e6ce39031d8c7d5412.tar.bz2
bpo-30380: Pin the version of Sphinx used to build the docs (GH-1612) (GH-1617)
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 5fee6cd..fe90bad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -37,9 +37,11 @@ matrix:
- TESTING=docs
before_script:
- cd Doc
- - make venv
+ # Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
+ # (Updating the version is fine as long as no warnings are raised by doing so.)
+ - python -m pip install sphinx~=1.6.1
script:
- - make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q -W"
+ - make check suspicious html SPHINXOPTS="-q -W"
- os: linux
language: c
compiler: gcc