summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 6 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index d1168f1..a67af0d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py{26,27,py,33,34,35}, docs
+envlist = py{26,27,33,34,35,py}, docs
[pytest]
testpaths = kafka test
@@ -11,7 +11,7 @@ deps =
pytest
pytest-cov
pytest-catchlog
- pytest-pylint
+ py{27,33,34,35,py}: pytest-pylint
pytest-sugar
pytest-mock
mock
@@ -24,6 +24,10 @@ setenv =
PROJECT_ROOT = {toxinidir}
passenv = KAFKA_VERSION
+[testenv:py26]
+# pylint doesn't support python2.6
+commands = py.test {posargs:--cov=kafka}
+
[testenv:docs]
deps =
sphinxcontrib-napoleon