change tox default to python3
Update tox to use python3 for most jobs instead of python2. Leave python2 in place where the job name clearly means for it to be used. Change-Id: I7ecbae445de9641de0622af97f7ca9dff35b8066 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
09f3e712f7
commit
79b3f297f0
4
tox.ini
4
tox.ini
@ -4,7 +4,7 @@ skipsdist = True
|
||||
envlist = validate,py27,pep8,pip-install
|
||||
|
||||
[testenv]
|
||||
basepython = python2.7
|
||||
basepython = python3
|
||||
usedevelop = True
|
||||
install_command = pip install -U {opts} {packages}
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
@ -14,11 +14,13 @@ commands =
|
||||
stestr run {posargs}
|
||||
|
||||
[testenv:py27-check-uc]
|
||||
basepython = python2.7
|
||||
install_command = pip install -U {opts} -c {toxinidir}/upper-constraints.txt {packages}
|
||||
deps = -r{toxinidir}/upper-constraints.txt
|
||||
commands = check-conflicts {toxinidir}/upper-constraints.txt {toxinidir}/upper-constraints-xfails.txt
|
||||
|
||||
[testenv:py27-check-lc]
|
||||
basepython = python2.7
|
||||
install_command = pip install -U {opts} -c {toxinidir}/lower-constraints.txt {packages}
|
||||
deps = -r{toxinidir}/lower-constraints.txt
|
||||
commands = check-conflicts {toxinidir}/lower-constraints.txt {toxinidir}/lower-constraints-xfails.txt
|
||||
|
Loading…
Reference in New Issue
Block a user