mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-06 09:20:27 +00:00
fab86cbc66
Not sure we need to be concerned about byte strings here either way. Fixes #74
28 lines
481 B
INI
28 lines
481 B
INI
[tox]
|
|
envlist = py27,py35,lint,docs
|
|
|
|
[testenv]
|
|
setenv =
|
|
LANG=C
|
|
deps = -r{toxinidir}/requirements.txt
|
|
commands =
|
|
py.test {posargs}
|
|
|
|
[testenv:docs]
|
|
deps =
|
|
sphinx_rtd_theme
|
|
{[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
|