2010-07-23 04:37:44 -05:00
|
|
|
[tox]
|
2016-12-24 21:22:54 -06:00
|
|
|
envlist=flake8,py27,py34,py35,py36,pypy,du13,du12,du11
|
2010-07-23 04:37:44 -05:00
|
|
|
|
|
|
|
[testenv]
|
2011-09-23 00:59:19 -05:00
|
|
|
deps=
|
2016-07-10 10:27:06 -05:00
|
|
|
six
|
2011-09-23 00:59:19 -05:00
|
|
|
nose
|
2012-12-16 22:24:24 -06:00
|
|
|
sqlalchemy
|
|
|
|
whoosh
|
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=
|
2016-12-24 08:51:30 -06:00
|
|
|
{envpython} -Wall tests/run.py --ignore-files=test_autodoc_py35 -m '^[tT]est' {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}
|
|
|
|
|
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=
|
|
|
|
mypy-lang
|
|
|
|
typed_ast
|
|
|
|
{[testenv]deps}
|
2015-11-09 20:40:48 -06:00
|
|
|
commands=
|
2016-12-04 02:52:45 -06:00
|
|
|
{envpython} -Wall tests/run.py -m '^[tT]est' {posargs}
|
2015-11-09 20:40:48 -06:00
|
|
|
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
|