summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-06 22:21:44 +0000
committerGerrit Code Review <review@openstack.org>2018-07-06 22:21:44 +0000
commit9977214b5c1903c700f335bd049494ea99c1c009 (patch)
treec8a726f502a3ec01b6d7e18a0a75533318006cef
parent45ba4e3b28081f8872b74b9005dd5d109fd621a0 (diff)
parentf536541eb65ddfaccfc90ddaa83df0648dc85d2d (diff)
downloadpython-glanceclient-9977214b5c1903c700f335bd049494ea99c1c009.tar.gz
Merge "fix tox python3 overrides"
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index f6220e4..85f5f3a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -17,9 +17,11 @@ deps =
commands = stestr run --slowest {posargs}
[testenv:pep8]
+basepython = python3
commands = flake8
[testenv:venv]
+basepython = python3
commands = {posargs}
[pbr]
@@ -50,6 +52,7 @@ commands =
stestr run --slowest {posargs}
[testenv:cover]
+basepython = python3
setenv =
PYTHON=coverage run --source glanceclient --parallel-mode
commands =
@@ -59,11 +62,13 @@ commands =
coverage xml -o cover/coverage.xml
[testenv:docs]
+basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -W -b html doc/source doc/build/html
[testenv:releasenotes]
+basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html