forked from brutasse/graphite-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
102 lines (91 loc) · 1.23 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
[tox]
envlist =
py26,
py27,
py33,
py34,
pypy,
pyparsing1,
flask08,
flask09,
lint,
docs
[testenv]
setenv =
PYTHONPATH={toxinidir}
GRAPHITE_API_CONFIG={toxinidir}/tests/conf.yaml
commands =
python -Werror -m unittest discover
deps =
Flask-Cache
PyYAML
cairocffi
mock
pytz
raven[flask]
six
structlog
tzlocal
[testenv:py26]
commands =
python setup.py test
deps =
{[testenv]deps}
Flask
pyparsing
unittest2
logutils
ordereddict
[testenv:py27]
deps =
{[testenv]deps}
Flask
pyparsing
[testenv:py33]
deps =
{[testenv]deps}
Flask
pyparsing
[testenv:py34]
commands =
python -Wall -m unittest discover
deps =
{[testenv]deps}
Flask
pyparsing
[testenv:pyparsing1]
basepython = python2.7
deps =
{[testenv]deps}
Flask
pyparsing==1.5.7
[testenv:pypy]
basepython = pypy
deps =
{[testenv]deps}
Flask
pyparsing
[testenv:flask08]
basepython = python2.7
deps =
{[testenv]deps}
Flask<0.9
pyparsing
[testenv:flask09]
basepython = python2.7
deps =
{[testenv]deps}
Flask<0.10
pyparsing
[testenv:lint]
deps =
flake8
commands =
flake8 {toxinidir}/graphite_api {toxinidir}/tests
[testenv:docs]
changedir = docs
deps =
Sphinx
sphinx_rtd_theme
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html