summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-10-14 06:14:40 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-10-14 06:14:40 -0400
commit5d725e5e3280387feb24ea6112eea339ed8d3571 (patch)
tree10395dd5bc751cefa5c68e41a1f9b76b8510dde7 /tox.ini
parentda4830f117befaf3a5610aeb1b1e5158ba92d97c (diff)
downloadpython-coveragepy-git-5d725e5e3280387feb24ea6112eea339ed8d3571.tar.gz
Make doc checking better, and fix two doc errors.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index e9d256c3..21602252 100644
--- a/tox.ini
+++ b/tox.ini
@@ -50,9 +50,14 @@ basepython = pypy2.6
basepython = pypy3-2.4
[testenv:doc]
+# Build the docs so we know if they are successful. We build twice: once with
+# -q to get all warnings, and once with -QW to get a success/fail status
+# return.
basepython = python2
deps = -rdoc/requirements.pip
-commands = sphinx-build -aEnq doc doc/_build/html
+commands =
+ sphinx-build -aEnq doc doc/_build/html
+ sphinx-build -aEnQW doc doc/_build/html
# Yes, pep8 will read its settings from tox.ini!
[pep8]