aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Wirtel <stephane@wirtel.be>2018-10-12 09:51:05 +0200
committerJulien Palard <julien@palard.fr>2018-10-12 09:51:05 +0200
commit859c068e52a31e13e2b9bb6a3f861fa8c290cb0e (patch)
treecf422fce87737d3cbebe6cd5844fc71218a46169 /.travis.yml
parentFix an incorrect check in compiler_try_except(). (GH-9810) (diff)
downloadcpython-859c068e52a31e13e2b9bb6a3f861fa8c290cb0e.tar.gz
cpython-859c068e52a31e13e2b9bb6a3f861fa8c290cb0e.tar.bz2
cpython-859c068e52a31e13e2b9bb6a3f861fa8c290cb0e.zip
bpo-34962: make doctest in Doc/ now passes, and is enforced in CI (GH-9806)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index d1a6da70e5..19be17e2f2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,8 +53,8 @@ matrix:
- 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 seperately, so we need to install that as well.
- - python -m pip install sphinx~=1.6.1 blurb python-docs-theme
+ # The theme used by the docs is stored separately, so we need to install that as well.
+ - python -m pip install sphinx blurb python-docs-theme
script:
- make check suspicious html SPHINXOPTS="-q -W -j4"
- os: osx
@@ -155,8 +155,14 @@ script:
# Check that all symbols exported by libpython start with "Py" or "_Py"
- make smelly
# `-r -w` implicitly provided through `make buildbottest`.
- - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then XVFB_RUN=xvfb-run; fi; $XVFB_RUN make buildbottest TESTOPTS="-j4 -uall,-cpu"
-
+ - |
+ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
+ XVFB_RUN=xvfb-run;
+ fi
+ $XVFB_RUN make buildbottest TESTOPTS="-j4 -uall,-cpu"
+ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
+ $XVFB_RUN make PYTHON=../python SPHINXOPTS="-q -W -j4" -C Doc/ venv doctest
+ fi
notifications:
email: false
webhooks: