Enable running py36 unit tests
This adds a tox setting for skipping default targets if the specified version is not available. This allows tests to run using python 3.6 if available, but conversely also allows skipping python 3.5 or even 2.7 if those runtimes are not present. This only affects local default tox runs and does not change what is tested in the gate. Change-Id: Ia34fd32ab8d4672a2725468ee3d37697f51d5b3a
This commit is contained in:
parent
6d426c0876
commit
5a2591051f
3
tox.ini
3
tox.ini
@ -1,7 +1,8 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 2.0
|
minversion = 2.0
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
envlist = py35,py27,compliance,pep8
|
skip_missing_interpreters = true
|
||||||
|
envlist = py36,py35,py27,compliance,pep8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user