chore(py3): update tox targets
This patch set updates the various tox targets to use python 3 first per Stein goal outlined in [0]. [0] https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I7c6e2283ffaab74b72fe9aa3be2e040c3e338f22 Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
parent
a6ad9af131
commit
537026b1d5
5
tox.ini
5
tox.ini
|
@ -1,5 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py35, py36, pep8, docs
|
envlist = py35, py36, pep8, docs
|
||||||
|
minversion = 2.3.1
|
||||||
# Allows docs to be built without setup.py having to exist. Requires that
|
# Allows docs to be built without setup.py having to exist. Requires that
|
||||||
# usedevelop be False as well (which it is by default).
|
# usedevelop be False as well (which it is by default).
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
@ -11,23 +12,27 @@ setenv = VIRTUAL_ENV={envdir}
|
||||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||||
|
|
||||||
[testenv:py35]
|
[testenv:py35]
|
||||||
|
basepython = python3.5
|
||||||
commands =
|
commands =
|
||||||
# Run all unit tests under src/bin/pegleg
|
# Run all unit tests under src/bin/pegleg
|
||||||
tox -c src/bin/pegleg/tox.ini -e py35
|
tox -c src/bin/pegleg/tox.ini -e py35
|
||||||
whitelist_externals = tox
|
whitelist_externals = tox
|
||||||
|
|
||||||
[testenv:py36]
|
[testenv:py36]
|
||||||
|
basepython = python3.6
|
||||||
commands =
|
commands =
|
||||||
# Run all unit tests under src/bin/pegleg
|
# Run all unit tests under src/bin/pegleg
|
||||||
tox -c src/bin/pegleg/tox.ini -e py36
|
tox -c src/bin/pegleg/tox.ini -e py36
|
||||||
whitelist_externals = tox
|
whitelist_externals = tox
|
||||||
|
|
||||||
[testenv:fmt]
|
[testenv:fmt]
|
||||||
|
basepython = python3
|
||||||
commands =
|
commands =
|
||||||
tox -c src/bin/pegleg/tox.ini -e fmt
|
tox -c src/bin/pegleg/tox.ini -e fmt
|
||||||
whitelist_externals = tox
|
whitelist_externals = tox
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
basepython = python3
|
||||||
commands =
|
commands =
|
||||||
tox -c src/bin/pegleg/tox.ini -e pep8
|
tox -c src/bin/pegleg/tox.ini -e pep8
|
||||||
whitelist_externals = tox
|
whitelist_externals = tox
|
||||||
|
|
Loading…
Reference in New Issue