Build docs under tox.
This commit is contained in:
11
tox.ini
11
tox.ini
@@ -1,6 +1,6 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py26,py27,py32,py33,pypy,cover
|
py26,py27,py32,py33,pypy,cover,docs
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands =
|
commands =
|
||||||
@@ -14,3 +14,12 @@ commands =
|
|||||||
python setup.py nosetests --with-xunit --with-xcoverage
|
python setup.py nosetests --with-xunit --with-xcoverage
|
||||||
deps =
|
deps =
|
||||||
nosexcover
|
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
|
||||||
|
Reference in New Issue
Block a user