summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2015-01-28 15:47:02 -0500
committerTres Seaver <tseaver@palladion.com>2015-01-28 15:47:02 -0500
commitfd607cb2573fbe8fed5f150442103cfe2bb99d8f (patch)
treea5b3269fbf6d68d13c4bc4b194667ea74b6013af /tox.ini
parent94859148ecf7588af4db82f5e470416af77c7156 (diff)
downloadzope-i18n-fd607cb2573fbe8fed5f150442103cfe2bb99d8f.tar.gz
Build docs / run doctests under tox.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini13
1 files changed, 12 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index e8eb4f1..2c40e5f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py26,py27,py33,py34,pypy
+envlist = py26,py27,py33,py34,pypy,docs
[testenv]
commands =
@@ -16,3 +16,14 @@ deps =
zope.security
zope.testing
zope.testrunner
+
+
+[testenv:docs]
+basepython =
+ python2.7
+commands =
+ sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
+ sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
+deps =
+ {[testenv]deps}
+ Sphinx