summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 478f92b0217510d3ecd7f1d2faa57e46a878ced2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[tox]
envlist = lint, py26, py27, pypy
[testenv]
deps =
    unittest2
    nose
    nose-timer
    coverage
    mock
    python-snappy
commands =
    nosetests {posargs:-v --with-id --with-timer --timer-top-n 10 --with-coverage --cover-erase --cover-package kafka}
setenv =
    PROJECT_ROOT = {toxinidir}
[testenv:lint]
deps =
    unittest2
    mock
    pylint
commands = pylint {posargs: -E --ignore=queue.py kafka test}