diff options
author | ms7s <martin.sucha@exponea.com> | 2017-03-03 21:37:53 +0100 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2017-03-03 12:37:53 -0800 |
commit | a36307a4c8d892011fb9ae9242f73f0eafd07316 (patch) | |
tree | c674f6e5465052efb0c03eba5317a85aeef1bf06 | |
parent | 373d22161302a2980f1507ccdf0cf37044866f13 (diff) | |
download | kafka-python-a36307a4c8d892011fb9ae9242f73f0eafd07316.tar.gz |
Run tests in python3.6 too (#992)
* Test with Python 3.6 in Travis CI
* Add Python 3.6 environment to tox config
* Don't run automated tests on Python 3.3
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | tox.ini | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index b54dc8e..062290f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,9 @@ language: python python: - 2.6 - 2.7 - - 3.3 - 3.4 - 3.5 + - 3.6 - pypy env: @@ -1,5 +1,5 @@ [tox] -envlist = py{26,27,33,34,35,py}, docs +envlist = py{26,27,34,35,36,py}, docs [pytest] testpaths = kafka test @@ -12,7 +12,7 @@ deps = pytest pytest-cov pytest-catchlog - py{27,33,34,35,py}: pytest-pylint + py{27,34,35,py}: pytest-pylint pytest-sugar pytest-mock mock @@ -30,6 +30,11 @@ passenv = KAFKA_VERSION # pylint doesn't support python2.6 commands = py.test {posargs:--cov=kafka --cov-config=.covrc} +[testenv:py36] +# pylint doesn't support python3.6 yet +# https://github.com/PyCQA/pylint/issues/1072 +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} |