chore(py3): update tox targets

This patch set updates the various tox targets to use python 3 first
per Stein goal outlined in [0]. Also, added minversion to tox.

[0] https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I60ad774e089df248f3b1993a815dc6ac7232c3fc
Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
Tin Lam 2018-08-11 23:12:32 -05:00 committed by Felipe Monteiro
parent 019b3c142e
commit 11d941c918
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
[tox]
skipsdist = True
minversion = 2.3.1
envlist = py35, pep8, cover, bandit
[testenv]
@ -19,12 +20,14 @@ commands =
rm -Rf .testrepository/times.dbm
[testenv:py35]
basepython = python3.5
commands =
{[testenv]commands}
stestr run {posargs}
stestr slowest
[testenv:py36]
basepython = python3.6
commands =
{[testenv]commands}
stestr run {posargs}