forked from ceph/Diamond
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (42 loc) · 988 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
[tox]
envlist = py26,py27,pep8
[testenv]
deps = pyutmp
pymongo
MySQL-python
redis
mock
beanstalkc
bernhard
kitchen
python-statsd
PyYAML
setenv = VIRTUAL_ENV={envdir}
commands = {toxinidir}/test.py
sitepackages = False
[testenv:py24]
# Pyrabbit is 2.6+ only, so don't install it here
deps = {[testenv]deps}
simplejson
setenv =
PIP_INSECURE = 1
[testenv:py25]
# Pyrabbit is 2.6+ only, so don't install it here
deps = {[testenv]deps}
simplejson
setenv =
PIP_INSECURE = 1
[testenv:py26]
deps = {[testenv]deps}
pyrabbit
[testenv:py27]
deps = {[testenv]deps}
pyrabbit
[testenv:pep8]
deps = pep8==1.1
commands = pep8 --max-line-length=80 --repeat --show-source src setup.py bin/diamond bin/diamond-setup test.py build_doc.py
[testenv:pyflakes]
deps = pyflakes==0.5.0
commands = pyflakes src setup.py bin/diamond bin/diamond-setup test.py build_doc.py
[testenv:venv]
commands = {posargs}