Skip to content

Commit

Permalink
Run tests in python3.6 too (dpkp#992)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ms7s authored and dpkp committed Mar 3, 2017
1 parent 373d221 commit a36307a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
- pypy

env:
Expand Down
9 changes: 7 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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}
Expand Down

0 comments on commit a36307a

Please sign in to comment.