-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathtox.ini
66 lines (55 loc) · 962 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
57
58
59
60
61
62
63
64
65
66
[tox]
envlist =
py27
py35
py36
docs
pep8
[testenv]
deps =
mock
pytest
pytest-timeout
sitepackages = True
setenv =
PYTHONWARNINGS=all
[testenv:py26]
deps =
{[testenv]deps}
unittest2
commands =
py.test --timeout=30
[testenv:py27]
commands =
py.test
[testenv:py33]
commands =
py.test --timeout=30
[testenv:py34]
commands =
py.test --timeout=30
[testenv:py35]
commands =
py.test --timeout=30
[testenv:py36]
commands =
py.test --timeout=30
[testenv:pypy]
commands =
py.test --timeout=30
[testenv:pypy3]
commands =
py.test --timeout=30
[testenv:pep8]
deps =
{[testenv]deps}
pytest-pep8
commands =
py.test --timeout=30 --pep8
[testenv:docs]
basepython = python
changedir = docs
deps = sphinx
commands =
python -c 'import os; [os.makedirs("_static") if not os.path.exists("_static") else None]'
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html