diff options
author | Tres Seaver <tseaver@palladion.com> | 2015-01-28 15:47:02 -0500 |
---|---|---|
committer | Tres Seaver <tseaver@palladion.com> | 2015-01-28 15:47:02 -0500 |
commit | fd607cb2573fbe8fed5f150442103cfe2bb99d8f (patch) | |
tree | a5b3269fbf6d68d13c4bc4b194667ea74b6013af /tox.ini | |
parent | 94859148ecf7588af4db82f5e470416af77c7156 (diff) | |
download | zope-i18n-fd607cb2573fbe8fed5f150442103cfe2bb99d8f.tar.gz |
Build docs / run doctests under tox.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |