summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-10-19 16:29:51 +0000
committerGerrit Code Review <review@openstack.org>2018-10-19 16:29:51 +0000
commiteb3865fe0d3ccde13f2a8320285f53c5b7baedb7 (patch)
tree85d6fd349205adb261e142ec150938262dd32e4d
parent8fa71f8ceedf25b8679e8bb77e93266d6d79dcdb (diff)
parente68b3f4862d5b34728cdebc163d9f7bd7969dc70 (diff)
Merge "fix tox python3 overrides"
-rw-r--r--tox.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 00a7ed8..5da9b13 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,18 +13,23 @@ deps = -r{toxinidir}/requirements.txt
13whitelist_externals = bash 13whitelist_externals = bash
14 14
15[testenv:pep8] 15[testenv:pep8]
16basepython = python3
16commands = flake8 17commands = flake8
17 18
18[testenv:venv] 19[testenv:venv]
20basepython = python3
19commands = {posargs} 21commands = {posargs}
20 22
21[testenv:checksyntax] 23[testenv:checksyntax]
24basepython = python3
22commands = python gerrit_dash_creator/cmd/creator.py --check-only dashboards 25commands = python gerrit_dash_creator/cmd/creator.py --check-only dashboards
23 26
24[testenv:cover] 27[testenv:cover]
28basepython = python3
25commands = python setup.py testr --coverage --testr-args='{posargs}' 29commands = python setup.py testr --coverage --testr-args='{posargs}'
26 30
27[testenv:docs] 31[testenv:docs]
32basepython = python3
28commands = 33commands =
29# not happy with generated dashboard pages 34# not happy with generated dashboard pages
30# doc8 -e .rst doc CONTRIBUTING.rst HACKING.rst README.rst 35# doc8 -e .rst doc CONTRIBUTING.rst HACKING.rst README.rst
@@ -40,11 +45,13 @@ builtins = _
40exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build 45exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
41 46
42[testenv:dashboards] 47[testenv:dashboards]
48basepython = python3
43commands = 49commands =
44 bash -c "tools/generate_dashboards.sh" 50 bash -c "tools/generate_dashboards.sh"
45 sphinx-build doc/source/ build/ 51 sphinx-build doc/source/ build/
46 52
47[testenv:bindep] 53[testenv:bindep]
54basepython = python3
48# Do not install any requirements. We want this to be fast and work even if 55# Do not install any requirements. We want this to be fast and work even if
49# system dependencies are missing, since it's used to tell you what system 56# system dependencies are missing, since it's used to tell you what system
50# dependencies are missing! This also means that bindep must be installed 57# dependencies are missing! This also means that bindep must be installed