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:
Sean McGinnis 2018-06-28 11:11:27 -05:00
parent 6d426c0876
commit 5a2591051f
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
[tox]
minversion = 2.0
skipsdist = True
envlist = py35,py27,compliance,pep8
skip_missing_interpreters = true
envlist = py36,py35,py27,compliance,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}