Use python3 by default for testenvs

We need to be testing on python3 by default now. This switches the
docs, pep8, and genconfig testenvs to use python3.

Change-Id: I6d21e240e8b1c21698004fbe9e957476b7982c75
This commit is contained in:
Ben Nemec 2019-06-06 10:29:49 -05:00
parent 5adca34f26
commit c6b434df05
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
[tox] [tox]
minversion = 1.6 minversion = 3.1
skipsdist = True skipsdist = True
envlist = py36,py27,pep8 envlist = py36,py27,pep8
ignore_basepython_conflict = True
[testenv] [testenv]
usedevelop = True usedevelop = True
@ -14,6 +15,7 @@ setenv =
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
commands = stestr run {posargs} commands = stestr run {posargs}
basepython = python3
[testenv:venv] [testenv:venv]
commands = {posargs} commands = {posargs}
@ -29,7 +31,6 @@ commands =
bash -c bin/check-up-to-date.sh bash -c bin/check-up-to-date.sh
[testenv:cover] [testenv:cover]
basepython = python3
setenv = setenv =
PYTHON=coverage run --source openstack_virtual_baremetal --parallel-mode PYTHON=coverage run --source openstack_virtual_baremetal --parallel-mode
commands = commands =