Build docs under tox.

This commit is contained in:
Tres Seaver
2013-06-14 11:51:23 -04:00
parent cd6ecf70f9
commit 27eae1d7b1

11
tox.ini
View File

@@ -1,6 +1,6 @@
[tox]
envlist =
py26,py27,py32,py33,pypy,cover
py26,py27,py32,py33,pypy,cover,docs
[testenv]
commands =
@@ -14,3 +14,12 @@ commands =
python setup.py nosetests --with-xunit --with-xcoverage
deps =
nosexcover
[testenv:docs]
basepython =
python2.6
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 =
Sphinx