summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-09-18 14:23:18 (GMT)
committerGitHub <noreply@github.com>2020-09-18 14:23:18 (GMT)
commit8394500cca56490cc347604d39ca40abcdce46c3 (patch)
tree3768768a78bb905a1af867c18f89954f98ae2346 /.travis.yml
parent6595cb0af4c51c0381c233b97884fe916a4ddd35 (diff)
downloadcpython-8394500cca56490cc347604d39ca40abcdce46c3.zip
cpython-8394500cca56490cc347604d39ca40abcdce46c3.tar.gz
cpython-8394500cca56490cc347604d39ca40abcdce46c3.tar.bz2
bpo-35293: Travis CI uses "make venv" for the doc (GH-22307)
Doc/requirements.txt becomes the reference for packages and package versions needed to build the Python documentation. * Doc/Makefile now uses Doc/requirements.txt * .travis.yml now uses "make env" of Doc/Makefile
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index a915f7a..254a4ea 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -51,10 +51,7 @@ matrix:
env: TESTING=docs
before_script:
- cd Doc
- # 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.)
- # The theme used by the docs is stored separately, so we need to install that as well.
- - python -m pip install sphinx==2.2.0 blurb python-docs-theme
+ - make venv PYTHON=python
script:
- make check suspicious html SPHINXOPTS="-q -W -j4"
- name: "Documentation tests"