forked from sphinx-doc/sphinx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (48 loc) · 923 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[tox]
envlist=flake8,py27,py34,py35,pypy,du12,du11,du10
[testenv]
deps=
six
nose
docutils
sqlalchemy
whoosh
html5lib
mock
typing
setenv =
SPHINX_TEST_TEMPDIR = {envdir}/testbuild
commands=
{envpython} -Wall tests/run.py -I py35 -m '^[tT]est' {posargs}
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
[testenv:pypy]
deps=
simplejson
{[testenv]deps}
[testenv:du10]
deps=
docutils==0.10
{[testenv]deps}
[testenv:du11]
deps=
docutils==0.11
{[testenv]deps}
[testenv:du12]
deps=
docutils==0.12
{[testenv]deps}
[testenv:flake8]
deps=flake8
commands=flake8
[testenv:py27]
deps=
enum34
{[testenv]deps}
[testenv:py35]
deps=
mypy-lang
typed_ast
{[testenv]deps}
commands=
{envpython} -Wall tests/run.py -m '^[tT]est' {posargs}
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html