mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-08 07:10:31 +00:00
33 lines
577 B
INI
33 lines
577 B
INI
[tox]
|
|
envlist = py27,lint,docs
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv =
|
|
LANG=C
|
|
deps = -r{toxinidir}/requirements.txt
|
|
whitelist_externals = git
|
|
commands =
|
|
python setup.py test
|
|
|
|
[testenv:docs]
|
|
setenv =
|
|
PYTHONPATH = {toxinidir}
|
|
deps =
|
|
{[testenv]deps}
|
|
changedir = {toxinidir}/docs
|
|
commands =
|
|
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
|
|
|
[testenv:lint]
|
|
setenv =
|
|
PYTHONPATH = {toxinidir}
|
|
deps =
|
|
{[testenv]deps}
|
|
prospector
|
|
commands =
|
|
prospector \
|
|
--profile-path={toxinidir} \
|
|
--profile=prospector \
|
|
--die-on-tool-error
|