use python 3 by default

Change-Id: I4eac8b6ff83ed99cc9009ff511114a20bc90328f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-04-26 13:36:02 -04:00
parent 86fa0da38c
commit 59b47a6d8e
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,7 @@ distribute = False
envlist = py35,py27,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}
@ -13,6 +14,9 @@ commands =
python setup.py test --coverage --coverage-package-name=oslo_config --slowest --testr-args='{posargs}'
coverage report --show-missing
[testenv:py27]
basepython = python2.7
[testenv:pep8]
commands = flake8 {posargs}