summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index f1cb10e..a87e646 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py{27,34,35,36,py}, docs
+envlist = py{26,27,34,35,36,py}, docs
[pytest]
testpaths = kafka test
@@ -19,12 +19,17 @@ deps =
python-snappy
lz4
xxhash
+ py26: unittest2
commands =
py.test {posargs:--pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka --cov-config=.covrc}
setenv =
PROJECT_ROOT = {toxinidir}
passenv = KAFKA_VERSION
+[testenv:py26]
+# pylint doesn't support python2.6
+commands = py.test {posargs:--cov=kafka --cov-config=.covrc}
+
[testenv:pypy]
# pylint is super slow on pypy...
commands = py.test {posargs:--cov=kafka --cov-config=.covrc}