use python 3 by default
Change-Id: I4eac8b6ff83ed99cc9009ff511114a20bc90328f Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
86fa0da38c
commit
59b47a6d8e
4
tox.ini
4
tox.ini
|
@ -4,6 +4,7 @@ distribute = False
|
||||||
envlist = py35,py27,pep8
|
envlist = py35,py27,pep8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
basepython = python3
|
||||||
install_command = pip install {opts} {packages}
|
install_command = pip install {opts} {packages}
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
-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}'
|
python setup.py test --coverage --coverage-package-name=oslo_config --slowest --testr-args='{posargs}'
|
||||||
coverage report --show-missing
|
coverage report --show-missing
|
||||||
|
|
||||||
|
[testenv:py27]
|
||||||
|
basepython = python2.7
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = flake8 {posargs}
|
commands = flake8 {posargs}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue