summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-11-20 14:40:09 +0000
committerGerrit Code Review <review@openstack.org>2018-11-20 14:40:09 +0000
commit3e9e47392a980ea153f35552c9e91cf5ecba568b (patch)
treed01f0824f2bbcc080b469edf7513daeb4a1376ad
parenta29d18f1c6240064de55c4be32c5d856f9bab900 (diff)
parentcc79b5659049b6d882eaa176858f30b7006d9d58 (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 9734b68..fcc6fc4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,6 +12,7 @@ setenv = VIRTUAL_ENV={envdir}
12deps = -r{toxinidir}/test-requirements.txt 12deps = -r{toxinidir}/test-requirements.txt
13 13
14[testenv:linters] 14[testenv:linters]
15basepython = python3
15whitelist_externals = bash 16whitelist_externals = bash
16commands = 17commands =
17 bash -c "find {toxinidir} \ 18 bash -c "find {toxinidir} \
@@ -28,6 +29,7 @@ commands =
28 -print0 | xargs -0 yamllint" 29 -print0 | xargs -0 yamllint"
29 30
30[testenv:pep8] 31[testenv:pep8]
32basepython = python3
31usedevelop = False 33usedevelop = False
32skip_install = True 34skip_install = True
33deps = 35deps =
@@ -36,6 +38,7 @@ commands =
36 pep8 38 pep8
37 39
38[testenv:venv] 40[testenv:venv]
41basepython = python3
39commands = {posargs} 42commands = {posargs}
40 43
41[testenv:docs] 44[testenv:docs]
@@ -57,6 +60,7 @@ whitelist_externals =
57 reno 60 reno
58 61
59[testenv:newnote] 62[testenv:newnote]
63basepython = python3
60# Re-use the releasenotes venv 64# Re-use the releasenotes venv
61envdir = {toxworkdir}/releasenotes 65envdir = {toxworkdir}/releasenotes
62deps = -r{toxinidir}/doc/requirements.txt 66deps = -r{toxinidir}/doc/requirements.txt