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]
|
2017-07-26 12:25:54 -05:00
|
|
|
passenv = https_proxy http_proxy no_proxy
|
2011-09-23 00:59:19 -05:00
|
|
|
deps=
|
2016-07-10 10:27:06 -05:00
|
|
|
six
|
2017-01-07 00:36:07 -06:00
|
|
|
pytest
|
2016-06-11 10:39:12 -05:00
|
|
|
html5lib
|
2016-10-15 02:22:27 -05:00
|
|
|
mock
|
2016-12-24 03:45:32 -06:00
|
|
|
enum34
|
2016-11-12 08:57:29 -06:00
|
|
|
typing
|
2012-05-01 01:21:12 -05:00
|
|
|
setenv =
|
2014-09-21 10:17:02 -05:00
|
|
|
SPHINX_TEST_TEMPDIR = {envdir}/testbuild
|
2016-12-24 07:23:49 -06:00
|
|
|
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
|
2012-12-16 22:23:14 -06:00
|
|
|
{[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
|
2015-11-09 20:40:48 -06:00
|
|
|
|
2016-11-02 07:35:47 -05:00
|
|
|
[testenv:py27]
|
|
|
|
deps=
|
|
|
|
{[testenv]deps}
|
|
|
|
|
2015-11-09 20:40:48 -06:00
|
|
|
[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}
|
2015-11-09 20:40:48 -06:00
|
|
|
commands=
|
2017-01-07 00:36:07 -06:00
|
|
|
{envpython} -Wall tests/run.py {posargs}
|
2015-11-09 20:40:48 -06:00
|
|
|
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
|
2017-02-24 12:25:51 -06:00
|
|
|
|
2017-02-28 11:31:31 -06:00
|
|
|
[testenv:mypy]
|
|
|
|
deps=
|
|
|
|
mypy
|
|
|
|
commands=
|
|
|
|
mypy sphinx/
|
|
|
|
|
2017-02-24 12:25:51 -06:00
|
|
|
[testenv:docs]
|
|
|
|
commands=
|
|
|
|
python setup.py build_sphinx
|