summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-06-15 18:23:56 +0000
committerGerrit Code Review <review@openstack.org>2018-06-15 18:23:56 +0000
commit640d8348b5f282a404ae2c3f501b3cf8e070b911 (patch)
treec5f44b0b9b20fe51f4fed7eba0aa5540a22fc0c1
parent9664dd23d6610ca7aa4b376cd61e0cb6a42beb74 (diff)
parent4b7b665d4a1b2312628d6892a17ee8b443c5a525 (diff)
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 b226f87..0504f52 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,24 +13,30 @@ deps = -r{toxinidir}/test-requirements.txt
13commands = python setup.py test --slowest --testr-args='{posargs}' 13commands = python setup.py test --slowest --testr-args='{posargs}'
14 14
15[testenv:pep8] 15[testenv:pep8]
16basepython = python3
16commands = 17commands =
17 flake8 {posargs} 18 flake8 {posargs}
18 bashate devstack/plugin.sh 19 bashate devstack/plugin.sh
19 20
20[testenv:venv] 21[testenv:venv]
22basepython = python3
21commands = {posargs} 23commands = {posargs}
22 24
23[testenv:cover] 25[testenv:cover]
26basepython = python3
24commands = python setup.py test --coverage --testr-args='{posargs}' 27commands = python setup.py test --coverage --testr-args='{posargs}'
25 28
26[testenv:docs] 29[testenv:docs]
30basepython = python3
27commands = python setup.py build_sphinx 31commands = python setup.py build_sphinx
28 32
29[testenv:releasenotes] 33[testenv:releasenotes]
34basepython = python3
30commands = 35commands =
31 sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html 36 sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
32 37
33[testenv:debug] 38[testenv:debug]
39basepython = python3
34commands = oslo_debug_helper {posargs} 40commands = oslo_debug_helper {posargs}
35 41
36[flake8] 42[flake8]