diff options
author | Zuul <zuul@review.openstack.org> | 2018-07-06 22:30:22 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-07-06 22:30:22 +0000 |
commit | 92114fb679ba45af6517e4ea8961de48dbfb22a4 (patch) | |
tree | a4df041a5578fb76a2e7fd3466c97b22f0031bd3 | |
parent | 5a20d47cd3a6e16feea602a282b2b7892eb5b7d5 (diff) | |
parent | 573fde0ff964003006a6445edf774812ee09c496 (diff) | |
download | glance_store-92114fb679ba45af6517e4ea8961de48dbfb22a4.tar.gz |
Merge "fix tox python3 overrides"
-rw-r--r-- | tox.ini | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -14,12 +14,15 @@ passenv = OS_TEST_* commands = ostestr --slowest {posargs} [testenv:docs] +basepython = python3 commands = python setup.py build_sphinx [testenv:releasenotes] +basepython = python3 commands = sphinx-build -a -E -W -d releasenotes/build/.doctrees -b html releasenotes/source releasenotes/build/html [testenv:pep8] +basepython = python3 commands = flake8 {posargs} # Run security linter @@ -31,6 +34,7 @@ commands = doc8 {posargs} [testenv:bandit] +basepython = python3 # NOTE(browne): This is required for the integration test job of the bandit # project. Please do not remove. # The following bandit tests are being skipped: @@ -40,10 +44,12 @@ commands = commands = bandit -r glance_store -x tests --skip B101,B110,B303 [testenv:cover] +basepython = python3 setenv = VIRTUAL_ENV={envdir} commands = python setup.py testr --coverage --testr-args='^(?!.*test.*coverage).*$' [testenv:venv] +basepython = python3 commands = {posargs} # See glance_store/tests/functional/README.rst for information on writing or |