sphinx-autoapi/tox.ini
2015-08-04 10:19:17 -07:00

26 lines
456 B
INI

[tox]
envlist = py27,py34,lint,docs
[testenv]
setenv =
LANG=C
deps = -r{toxinidir}/requirements.txt
commands =
py.test {posargs}
[testenv:docs]
deps = {[testenv]deps}
changedir = {toxinidir}/docs
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:lint]
deps =
{[testenv]deps}
prospector
commands =
prospector \
--profile-path={toxinidir} \
--profile=prospector \
--die-on-tool-error