Files
sphinx/tox.ini

65 lines
1.0 KiB
INI
Raw Normal View History

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