You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sphinx-autoapi/tox.ini

36 lines
609 B
INI

[tox]
envlist =
py{27,34,35}-sphinx{13,14,15}
py27-lint
py27-docs
[testenv]
setenv =
LANG=C
deps = -r{toxinidir}/requirements.txt
pytest
mock
sphinx14: Sphinx<1.5
sphinx15: Sphinx<1.6
commands =
py.test {posargs}
[testenv:docs]
deps =
Sphinx==1.5
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