summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2017-05-16 20:48:25 (GMT)
committerBrett Cannon <brettcannon@users.noreply.github.com>2017-05-16 20:48:25 (GMT)
commitfca224f117d25bdfec1bf7160b67438c4fcf6dee (patch)
tree170ef2b303cafca10d85dbab2127c5e4578dd3e9
parentd97b7dc94b19063f0589d401bdc4aaadc7030762 (diff)
downloadcpython-fca224f117d25bdfec1bf7160b67438c4fcf6dee.zip
cpython-fca224f117d25bdfec1bf7160b67438c4fcf6dee.tar.gz
cpython-fca224f117d25bdfec1bf7160b67438c4fcf6dee.tar.bz2
bpo-30380: Pin the version of Sphinx used to build the documentation (GH-1612)
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 2062e81..c4a2149 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -38,9 +38,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