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
This commit is contained in:
		| @@ -3,9 +3,9 @@ language: python | |||||||
| python: | python: | ||||||
|     - 2.6 |     - 2.6 | ||||||
|     - 2.7 |     - 2.7 | ||||||
|     - 3.3 |  | ||||||
|     - 3.4 |     - 3.4 | ||||||
|     - 3.5 |     - 3.5 | ||||||
|  |     - 3.6 | ||||||
|     - pypy |     - pypy | ||||||
|  |  | ||||||
| env: | env: | ||||||
|   | |||||||
							
								
								
									
										9
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								tox.ini
									
									
									
									
									
								
							| @@ -1,5 +1,5 @@ | |||||||
| [tox] | [tox] | ||||||
| envlist = py{26,27,33,34,35,py}, docs | envlist = py{26,27,34,35,36,py}, docs | ||||||
|  |  | ||||||
| [pytest] | [pytest] | ||||||
| testpaths = kafka test | testpaths = kafka test | ||||||
| @@ -12,7 +12,7 @@ deps = | |||||||
|     pytest |     pytest | ||||||
|     pytest-cov |     pytest-cov | ||||||
|     pytest-catchlog |     pytest-catchlog | ||||||
|     py{27,33,34,35,py}: pytest-pylint |     py{27,34,35,py}: pytest-pylint | ||||||
|     pytest-sugar |     pytest-sugar | ||||||
|     pytest-mock |     pytest-mock | ||||||
|     mock |     mock | ||||||
| @@ -30,6 +30,11 @@ passenv = KAFKA_VERSION | |||||||
| # pylint doesn't support python2.6 | # pylint doesn't support python2.6 | ||||||
| commands = py.test {posargs:--cov=kafka --cov-config=.covrc} | 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] | [testenv:pypy] | ||||||
| # pylint is super slow on pypy... | # pylint is super slow on pypy... | ||||||
| commands = py.test {posargs:--cov=kafka --cov-config=.covrc} | commands = py.test {posargs:--cov=kafka --cov-config=.covrc} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 ms7s
					ms7s