bpo-30380: Pin the version of Sphinx used to build the docs (GH-1612) (GH-1617)

This commit is contained in:
Brett Cannon 2017-05-16 14:28:21 -07:00 committed by GitHub
parent 8fc1ff51ad
commit 5e2016dce9

View file

@ -37,9 +37,11 @@ matrix:
- TESTING=docs - TESTING=docs
before_script: before_script:
- cd Doc - 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: 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 - os: linux
language: c language: c
compiler: gcc compiler: gcc