sphinx/tox.ini

71 lines
1.1 KiB
INI
Raw Normal View History

2010-07-23 04:37:44 -05:00
[tox]
2017-09-09 19:23:09 -05:00
envlist=flake8,py27,py34,py35,py36,pypy,du14,du13,du12,du11
2010-07-23 04:37:44 -05:00
[testenv]
passenv = https_proxy http_proxy no_proxy
2011-09-23 00:59:19 -05:00
deps=
six
2017-01-07 00:36:07 -06:00
pytest
2016-06-11 10:39:12 -05:00
html5lib
mock
enum34
typing
setenv =
SPHINX_TEST_TEMPDIR = {envdir}/testbuild
PYTHONDONTWRITEBYTECODE = true
2010-07-23 05:16:17 -05:00
commands=
2017-01-07 00:36:07 -06:00
{envpython} -Wall tests/run.py --ignore tests/py35 {posargs}
2014-09-20 13:54:54 -05:00
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
2010-07-23 05:16:17 -05:00
2011-01-08 14:50:41 -06:00
[testenv:pypy]
deps=
simplejson
{[testenv]deps}
2011-01-08 14:50:41 -06:00
2013-07-24 19:26:43 -05:00
[testenv:du11]
deps=
docutils==0.11
{[testenv]deps}
2014-08-11 16:45:38 -05:00
[testenv:du12]
deps=
docutils==0.12
{[testenv]deps}
2015-03-07 00:45:43 -06:00
2016-12-24 21:22:54 -06:00
[testenv:du13]
deps=
docutils==0.13.1
{[testenv]deps}
2017-09-09 19:23:09 -05:00
[testenv:du14]
deps=
docutils==0.14
{[testenv]deps}
2015-03-07 00:45:43 -06:00
[testenv:flake8]
deps=flake8
commands=flake8
[testenv:py27]
deps=
{[testenv]deps}
[testenv:py35]
2016-11-06 22:15:18 -06:00
deps=
2017-02-20 23:05:18 -06:00
mypy
2016-11-06 22:15:18 -06:00
typed_ast
{[testenv]deps}
commands=
2017-01-07 00:36:07 -06:00
{envpython} -Wall tests/run.py {posargs}
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
[testenv:mypy]
deps=
mypy
commands=
mypy sphinx/
[testenv:docs]
commands=
python setup.py build_sphinx