summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-11 19:48:19 +0000
committerGerrit Code Review <review@openstack.org>2018-07-11 19:48:19 +0000
commitccdc8c4575c7adbf5c1958377b542e1628ef0109 (patch)
treea209c35cb87a58c652a5e03641333e0fc93053f1
parent83474601602de83b6f6bac77c6e366c5a5c387f0 (diff)
parent88da36141575f23062f8a2a03308f82316e4db8a (diff)
Merge "fix tox python3 overrides"
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index e259d13..a056ed2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -30,6 +30,7 @@ setenv =
30 30
31 31
32[testenv:docs] 32[testenv:docs]
33basepython = python3
33deps = -r{toxinidir}/doc/requirements.txt 34deps = -r{toxinidir}/doc/requirements.txt
34commands= 35commands=
35 bash -c "rm -rf doc/build" 36 bash -c "rm -rf doc/build"
@@ -43,6 +44,7 @@ extensions = .rst
43 44
44 45
45[testenv:releasenotes] 46[testenv:releasenotes]
47basepython = python3
46deps = -r{toxinidir}/doc/requirements.txt 48deps = -r{toxinidir}/doc/requirements.txt
47commands = 49commands =
48 sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html 50 sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
@@ -50,11 +52,13 @@ commands =
50 52
51# environment used by the -infra templated docs job 53# environment used by the -infra templated docs job
52[testenv:venv] 54[testenv:venv]
55basepython = python3
53commands = 56commands =
54 {posargs} 57 {posargs}
55 58
56 59
57[testenv:pep8] 60[testenv:pep8]
61basepython = python3
58commands = 62commands =
59 bash -c "{toxinidir}/tests/common/test-pep8.sh" 63 bash -c "{toxinidir}/tests/common/test-pep8.sh"
60 64