forked from brutasse/graphite-api
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
150 lines (137 loc) · 1.93 KB
/
tox.ini
File metadata and controls
150 lines (137 loc) · 1.93 KB
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
[tox]
envlist =
py27,
py34,
py35,
py36,
pypy,
pyparsing1,
flask08,
flask09,
no-flask-cache,
no-cairo,
lint,
docs
[testenv]
setenv =
PYTHONPATH={toxinidir}
GRAPHITE_API_CONFIG={toxinidir}/tests/conf.yaml
commands =
python -Werror -m unittest discover
deps =
PyYAML
setuptools>=28.0
pytz
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
cairocffi
[testenv:py35]
basepython = python3.5
commands =
python -Wall -m unittest discover
deps =
{[testenv]deps}
Flask
Flask-Cache
pyparsing
scandir
cairocffi
[testenv:py36]
basepython = python3.6
commands =
python -Wall -m unittest discover
deps =
{[testenv]deps}
Flask
Flask-Cache
pyparsing
cairocffi
[testenv:pyparsing1]
basepython = python2.7
deps =
{[testenv]deps}
Flask
Flask-Cache
pyparsing==1.5.7
mock
cairocffi
[testenv:pypy]
basepython = pypy
commands =
pip uninstall -y cffi
deps =
{[testenv]deps}
Flask
Flask-Cache
pyparsing
mock
[testenv:flask08]
basepython = python2.7
deps =
{[testenv]deps}
Flask<0.9
Flask-Cache
pyparsing
mock
cairocffi
[testenv:flask09]
basepython = python2.7
deps =
{[testenv]deps}
Flask<0.10
Flask-Cache
pyparsing
mock
cairocffi
[testenv:no-flask-cache]
basepython = python3.6
commands =
python -Wall -m unittest discover
deps =
{[testenv]deps}
Flask
pyparsing
cairocffi
[testenv:no-cairo]
basepython = python2.7
python -Wall -m unittest discover
deps =
{[testenv]deps}
pyparsing
mock
[testenv:lint]
deps =
flake8
flake8-import-order
flake8-bugbear
setuptools>=28.0
commands =
flake8 {toxinidir}/influxgraph_graphite_api
[testenv:docs]
changedir = docs
deps =
Sphinx
sphinx_rtd_theme
structlog
setuptools>=28.0
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html