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:
parent
019b3c142e
commit
11d941c918
3
tox.ini
3
tox.ini
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue