summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-10-13 14:24:00 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-10-13 14:24:00 -0400
commit2898aa9a56fcd8ff8a70d71883d8cfd90f105c8f (patch)
tree290504b28102f2d7ca661ae0ce73011d554b139c
parentdf75b084d1cee1c5750f3e1cfc858997a55ed29f (diff)
downloadpython-coveragepy-git-2898aa9a56fcd8ff8a70d71883d8cfd90f105c8f.tar.gz
Build docs regularly so we find out when things are busted.
-rw-r--r--CHANGES.rst2
-rw-r--r--doc/changes.rst2
-rw-r--r--tox.ini6
3 files changed, 7 insertions, 3 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index fa9c3aaf..bc398530 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -32,7 +32,7 @@ Version 4.0.1 --- 13 October 2015
- Importing a ``__init__`` module explicitly would lead to an error:
``AttributeError: 'module' object has no attribute '__path__'``, as reported
in `issue 410`_. This is now fixed.
-
+
- Code that uses ``sys.settrace(sys.gettrace())`` used to incur a more than 2x
speed penalty. Now there's no penalty at all. Fixes `issue 397`_.
diff --git a/doc/changes.rst b/doc/changes.rst
index 406b92f4..5731d3c1 100644
--- a/doc/changes.rst
+++ b/doc/changes.rst
@@ -72,7 +72,7 @@ Version 4.0.1 --- 13 October 2015
- Importing a ``__init__`` module explicitly would lead to an error:
``AttributeError: 'module' object has no attribute '__path__'``, as reported
in `issue 410`_. This is now fixed.
-
+
- Code that uses ``sys.settrace(sys.gettrace())`` used to incur a more than 2x
speed penalty. Now there's no penalty at all. Fixes `issue 397`_.
diff --git a/tox.ini b/tox.ini
index dd6254ff..e9d256c3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,7 @@
# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
[tox]
-envlist = py{26,27,33,34,35}, pypy{24,26,3_24}
+envlist = py{26,27,33,34,35}, pypy{24,26,3_24}, doc
skip_missing_interpreters = True
[testenv]
@@ -49,6 +49,10 @@ basepython = pypy2.6
[testenv:pypy3_24]
basepython = pypy3-2.4
+[testenv:doc]
+basepython = python2
+deps = -rdoc/requirements.pip
+commands = sphinx-build -aEnq doc doc/_build/html
# Yes, pep8 will read its settings from tox.ini!
[pep8]