-
Notifications
You must be signed in to change notification settings - Fork 131
/
tox.ini
132 lines (120 loc) · 1.68 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[tox]
envlist =
py26,
py27,
py34,
py35,
py36,
pypy,
pyparsing1,
flask08,
flask09,
no-flask-cache,
lint,
docs
[testenv]
setenv =
PYTHONPATH={toxinidir}
GRAPHITE_API_CONFIG={toxinidir}/tests/conf.yaml
commands =
python -Werror -m unittest discover
deps =
PyYAML
cairocffi
pytz
raven[flask]
six
structlog
tzlocal
[testenv:py27]
basepython = python2.7
deps =
{[testenv]deps}
Flask
Flask-Cache
pyparsing
mock
scandir
[testenv:py34]
basepython = python3.4
commands =
python -Wall -m unittest discover
deps =
{[testenv]deps}
Flask
Flask-Cache
pyparsing
scandir
[testenv:py35]
basepython = python3.5
commands =
python -Wall -m unittest discover
deps =
{[testenv]deps}
Flask
Flask-Cache
pyparsing
[testenv:py36]
basepython = python3.6
commands =
python -Wall -m unittest discover
deps =
{[testenv]deps}
Flask
Flask-Cache
pyparsing
[testenv:pyparsing1]
basepython = python2.7
deps =
{[testenv]deps}
Flask
Flask-Cache
pyparsing==1.5.7
mock
[testenv:pypy]
basepython = pypy
deps =
{[testenv]deps}
Flask
Flask-Cache
pyparsing
mock
[testenv:flask08]
basepython = python2.7
deps =
{[testenv]deps}
Flask<0.9
Flask-Cache
pyparsing
mock
[testenv:flask09]
basepython = python2.7
deps =
{[testenv]deps}
Flask<0.10
Flask-Cache
pyparsing
mock
[testenv:no-flask-cache]
basepython = python3.6
commands =
python -Wall -m unittest discover
deps =
{[testenv]deps}
Flask
pyparsing
[testenv:lint]
deps =
flake8
flake8-import-order
flake8-bugbear
commands =
flake8 {toxinidir}/graphite_api {toxinidir}/tests
[testenv:docs]
changedir = docs
deps =
Sphinx
sphinx_rtd_theme
structlog
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html