summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-12 19:44:42 +0000
committerGerrit Code Review <review@openstack.org>2018-07-12 19:44:42 +0000
commit77f96476449e2418a64cbb508be68ccd77b38e79 (patch)
tree54dfc12efeac21be9e185cf940e1559be50f10c5
parentebc022b1914eed12841049e70cb52dcd37543661 (diff)
parentcd7b215bb3cf76bf3924e036ad55ae88548dc2b0 (diff)
downloadpython-troveclient-77f96476449e2418a64cbb508be68ccd77b38e79.tar.gz
Merge "fix tox python3 overrides"
-rw-r--r--tox.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index dbc1692..925e2d0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -25,6 +25,7 @@ whitelist_externals = find
rm
[testenv:debug]
+basepython = python3
commands = oslo_debug_helper -t troveclient/tests {posargs}
[testenv:debug-py27]
@@ -36,12 +37,15 @@ basepython = python3.5
commands = oslo_debug_helper -t troveclient/tests {posargs}
[testenv:pep8]
+basepython = python3
commands = flake8
[testenv:venv]
+basepython = python3
commands = {posargs}
[testenv:cover]
+basepython = python3
commands =
coverage erase
python setup.py testr --coverage --testr-args='{posargs}'
@@ -49,6 +53,7 @@ commands =
coverage report
[testenv:docs]
+basepython = python3
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt
@@ -58,6 +63,7 @@ commands =
sphinx-build -W -b html doc/source doc/build/html
[testenv:releasenotes]
+basepython = python3
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt