diff options
-rw-r--r-- | tox.ini | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -20,6 +20,7 @@ whitelist_externals = find passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:debug] +basepython = python3 commands = oslo_debug_helper -t saharaclient/tests/unit {posargs} [testenv:debug-py27] @@ -31,6 +32,7 @@ basepython = python3.5 commands = oslo_debug_helper -t saharaclient/tests/unit {posargs} [testenv:cover] +basepython = python3 commands = python setup.py test --coverage --testr-args='{posargs}' coverage report @@ -39,10 +41,12 @@ commands = sitepackages = False [testenv:pep8] +basepython = python3 sitepackages = False commands = flake8 [testenv:doc8] +basepython = python3 deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/requirements.txt @@ -51,9 +55,11 @@ deps = commands = doc8 doc/source [testenv:venv] +basepython = python3 commands = {posargs} [testenv:docs] +basepython = python3 deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/requirements.txt @@ -63,6 +69,7 @@ commands = sphinx-build -W -b html doc/source doc/build/html [testenv:releasenotes] +basepython = python3 deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/requirements.txt |