forked from python-zk/kazoo
-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
34 lines (29 loc) · 763 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
[tox]
minversion = 1.6
skipsdist = True
envlist = pep8,
py26,
py27,
py33,
py34,
pypy
[testenv:pep8]
commands = flake8 {posargs}
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_sphinx.txt
commands = {toxinidir}/ensure-zookeeper-env.sh nosetests {posargs: -d -v --with-coverage kazoo.tests}
[testenv:py27]
deps = {[testenv]deps}
-r{toxinidir}/requirements_gevent.txt
-r{toxinidir}/requirements_eventlet.txt
[testenv:py26]
deps = {[testenv]deps}
-r{toxinidir}/requirements_gevent.txt
-r{toxinidir}/requirements_eventlet.txt
[flake8]
builtins = _
exclude = .venv,.tox,dist,doc,*egg,.git,build,tools