set default python to python3
Set the default python to python3 except for the py27 environment. We have to set that explicitly to override the new default. Change-Id: I9d9b80a6e177f7a3a1e20be8da5f603b95ad2deb Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
5f70c35a0d
commit
4de1ee38fb
4
tox.ini
4
tox.ini
|
@ -3,12 +3,16 @@ minversion = 2.0
|
|||
envlist = pep8
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
install_command = pip install {opts} {packages}
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
|
||||
[testenv:py27]
|
||||
basepython = python2.7
|
||||
|
||||
[testenv:pep8]
|
||||
commands =
|
||||
flake8 oslosphinx
|
||||
|
|
Loading…
Reference in New Issue