forked from sunomie/curses-menu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
75 lines (64 loc) · 1.02 KB
/
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
67
68
69
70
71
72
73
74
75
[tox]
envlist =
py27
py34
py35
docs
pep8
[testenv]
deps=
pytest
pytest-timeout
sitepackages=True
setenv=
PYTHONWARNINGS=all
[testenv:py26]
deps=
{[testenv]deps}
mock
unittest2
commands=
py.test --timeout=30
[testenv:py27]
deps=
{[testenv]deps}
mock
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]
deps=
{[testenv]deps}
mock
commands=
py.test --timeout=30
[testenv:pypy3]
deps=
{[testenv]deps}
mock
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