diff --git a/tox.ini b/tox.ini index a82368f..1bb3360 100644 --- a/tox.ini +++ b/tox.ini @@ -34,12 +34,15 @@ basepython = python2.7 commands = python manage.py test heat_dashboard.test.integration --settings=heat_dashboard.test.settings --tag integration [testenv:pep8] +basepython = python3 commands = flake8 {posargs} [testenv:venv] +basepython = python3 commands = {posargs} [testenv:cover] +basepython = python3 commands = coverage erase coverage run --source=heat_dashboard {toxinidir}/manage.py test heat_dashboard.test.tests --settings=heat_dashboard.test.settings {posargs} @@ -53,11 +56,13 @@ commands = {[unit_tests]commands} [testenv:docs] +basepython = python3 deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/doc/requirements.txt commands = python setup.py build_sphinx [testenv:releasenotes] +basepython = python3 deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html @@ -77,6 +82,7 @@ max-complexity = 20 import-order-style = pep8 [testenv:npm] +basepython = python3 passenv = HOME DISPLAY