summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-06-07 00:00:12 +0000
committerGerrit Code Review <review@openstack.org>2018-06-07 00:00:12 +0000
commitd1b7a1f0922419f956001f4bf14ad3e77449c860 (patch)
tree5a6e3fc4640b9f4fd613a99147d84eff29528f81 /tox.ini
parentc5171adb2baae0e2dc090d6e49090e114202c787 (diff)
parent29ef02a51d0103e03a8ce996f700149def938594 (diff)
downloadkeystonemiddleware-d1b7a1f0922419f956001f4bf14ad3e77449c860.tar.gz
Merge "fix tox python3 overrides"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index f4a5852..b0b954c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,19 +20,23 @@ deps = -r{toxinidir}/requirements.txt
commands = stestr run {posargs}
[testenv:pep8]
+basepython = python3
commands =
flake8
bandit -r keystonemiddleware -x tests -n5
[testenv:bandit]
+basepython = python3
# NOTE(browne): This is required for the integration test job of the bandit
# project. Please do not remove.
commands = bandit -r keystonemiddleware -x tests -n5
[testenv:venv]
+basepython = python3
commands = {posargs}
[testenv:cover]
+basepython = python3
setenv =
{[testenv]setenv}
PYTHON=coverage run --source keystonemiddleware --parallel-mode
@@ -43,6 +47,7 @@ commands =
coverage xml -o cover/coverage.xml
[testenv:debug]
+basepython = python3
commands = oslo_debug_helper -t keystonemiddleware/tests {posargs}
@@ -58,12 +63,14 @@ show-source = True
exclude = .venv,.tox,dist,doc,*egg,build
[testenv:docs]
+basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands=
doc8 doc/source
sphinx-build -W -b html doc/source doc/build/html
[testenv:releasenotes]
+basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html