diff options
author | Zuul <zuul@review.openstack.org> | 2018-06-11 16:59:10 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-06-11 16:59:10 +0000 |
commit | 41e44e61dc8f31ee0d012194f0b1d6e7bb08ae77 (patch) | |
tree | 9f74ef4b53b6b4a5a50f466e866e9abfa919501b | |
parent | f2d3fec9b254f9c47e97ddf48e3c5f7614b87f1b (diff) | |
parent | a019108f2b7bf3d90615940fb76065fd148d0cbd (diff) | |
download | python-keystoneclient-41e44e61dc8f31ee0d012194f0b1d6e7bb08ae77.tar.gz |
Merge "fix tox python3 overrides"
-rw-r--r-- | tox.ini | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -19,23 +19,28 @@ commands = find . -type f -name "*.pyc" -delete whitelist_externals = find [testenv:pep8] +basepython = python3 commands = flake8 bandit -r keystoneclient -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 keystoneclient -x tests -n5 [testenv:venv] +basepython = python3 commands = {posargs} [testenv:cover] +basepython = python3 commands = python setup.py testr --coverage --testr-args='{posargs}' coverage report [testenv:debug] +basepython = python3 commands = oslo_debug_helper -t keystoneclient/tests {posargs} [testenv:functional] @@ -55,10 +60,12 @@ show-source = True exclude = .venv,.tox,dist,doc,*egg,build [testenv:docs] +basepython = python3 commands = python setup.py build_sphinx deps = -r{toxinidir}/doc/requirements.txt [testenv:releasenotes] +basepython = python3 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html deps = -r{toxinidir}/doc/requirements.txt @@ -67,6 +74,7 @@ import_exceptions = keystoneclient.i18n [testenv:bindep] +basepython = python3 # Do not install any requirements. We want this to be fast and work even if # system dependencies are missing, since it's used to tell you what system # dependencies are missing! This also means that bindep must be installed |