summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-06-08 18:59:51 +0000
committerGerrit Code Review <review@openstack.org>2018-06-08 18:59:51 +0000
commitfce517a51657363437908c678d38371d1d8c0b6d (patch)
treeeea9e942cc4af501fced47b5ad54066a4defba7f /tox.ini
parent4c943fbcb25f4d4f8e2e9d8b77f0e389bed13c8b (diff)
parenta245fd5f8f6306ac171cfe8907b3b4bb99016a00 (diff)
Merge "fix tox python3 overrides"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 9 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index ae99cc3..def594a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,6 +16,7 @@ commands =
16 stestr slowest 16 stestr slowest
17 17
18[testenv:releasenotes] 18[testenv:releasenotes]
19basepython = python3
19deps = 20deps =
20 -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} 21 -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
21 -r{toxinidir}/requirements.txt 22 -r{toxinidir}/requirements.txt
@@ -27,6 +28,7 @@ commands =
27whitelist_externals = rm 28whitelist_externals = rm
28 29
29[testenv:debug] 30[testenv:debug]
31basepython = python3
30commands = oslo_debug_helper {posargs} 32commands = oslo_debug_helper {posargs}
31 33
32[testenv:debug-py27] 34[testenv:debug-py27]
@@ -60,17 +62,21 @@ commands =
60 {toxinidir}/tools/check_logging.sh {toxinidir}/manila 62 {toxinidir}/tools/check_logging.sh {toxinidir}/manila
61 63
62[testenv:genconfig] 64[testenv:genconfig]
65basepython = python3
63whitelist_externals = bash 66whitelist_externals = bash
64commands = 67commands =
65 oslo-config-generator --config-file etc/oslo-config-generator/manila.conf 68 oslo-config-generator --config-file etc/oslo-config-generator/manila.conf
66 69
67[testenv:genpolicy] 70[testenv:genpolicy]
71basepython = python3
68commands = oslopolicy-sample-generator --config-file=etc/manila/manila-policy-generator.conf 72commands = oslopolicy-sample-generator --config-file=etc/manila/manila-policy-generator.conf
69 73
70[testenv:venv] 74[testenv:venv]
75basepython = python3
71commands = {posargs} 76commands = {posargs}
72 77
73[testenv:docs] 78[testenv:docs]
79basepython = python3
74deps = 80deps =
75 -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} 81 -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
76 -r{toxinidir}/requirements.txt 82 -r{toxinidir}/requirements.txt
@@ -83,6 +89,7 @@ commands =
83whitelist_externals = rm 89whitelist_externals = rm
84 90
85[testenv:cover] 91[testenv:cover]
92basepython = python3
86setenv = 93setenv =
87 {[testenv]setenv} 94 {[testenv]setenv}
88 PYTHON=coverage run --source manila --parallel-mode 95 PYTHON=coverage run --source manila --parallel-mode
@@ -109,6 +116,7 @@ deps = -r{toxinidir}/requirements.txt
109commands = python tools/lintstack.py check 116commands = python tools/lintstack.py check
110 117
111[testenv:api-ref] 118[testenv:api-ref]
119basepython = python3
112# This environment is called from CI scripts to test and publish 120# This environment is called from CI scripts to test and publish
113# the API Ref to developer.openstack.org. 121# the API Ref to developer.openstack.org.
114whitelist_externals = rm 122whitelist_externals = rm
@@ -117,6 +125,7 @@ commands =
117 sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html 125 sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
118 126
119[testenv:dbrevision] 127[testenv:dbrevision]
128basepython = python3
120deps = -r{toxinidir}/requirements.txt 129deps = -r{toxinidir}/requirements.txt
121commands = alembic -c manila/db/migrations/alembic.ini revision -m ""{posargs} 130commands = alembic -c manila/db/migrations/alembic.ini revision -m ""{posargs}
122 131