From 2898aa9a56fcd8ff8a70d71883d8cfd90f105c8f Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 13 Oct 2015 14:24:00 -0400 Subject: Build docs regularly so we find out when things are busted. --- CHANGES.rst | 2 +- doc/changes.rst | 2 +- tox.ini | 6 +++++- 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] -- cgit v1.2.1