Build docs in tox
This commit is contained in:
10
tox.ini
10
tox.ini
@@ -1,15 +1,21 @@
|
||||
[tox]
|
||||
envlist = py26, py27, pypy, py32, py33
|
||||
envlist = py26, py27, pypy, py32, py33, docs
|
||||
|
||||
[testenv]
|
||||
commands =
|
||||
nosetests -s tests.py
|
||||
{envpython} -m doctest README.rst
|
||||
|
||||
deps =
|
||||
mock
|
||||
nose
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python
|
||||
changedir = doc
|
||||
deps = sphinx
|
||||
commands =
|
||||
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||||
|
||||
[testenv:py26]
|
||||
deps =
|
||||
mock
|
||||
|
Reference in New Issue
Block a user