Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-07-31 02:02:14 +00:00 committed by Gerrit Code Review
commit 8d5c5fa825
1 changed files with 5 additions and 0 deletions

View File

@ -20,14 +20,17 @@ deps = -r{toxinidir}/requirements.txt
commands = {toxinidir}/manage.py test karbor_dashboard --settings=karbor_dashboard.test.settings
[testenv:pep8]
basepython = python3
commands =
/bin/bash run_tests.sh -N --pep8
/bin/bash run_tests.sh -N --makemessages --check-only
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:cover]
basepython = python3
commands = /bin/bash run_tests.sh -N --no-pep8 --coverage {posargs}
[testenv:py27dj18]
@ -40,12 +43,14 @@ basepython = python2.7
commands = /bin/bash run_tests.sh -N --integration --selenium-headless {posargs}
[testenv:eslint]
basepython = python3
passenv = *
commands = nodeenv -p
npm install
/bin/bash run_tests.sh -N --eslint
[testenv:docs]
basepython = python3
setenv = DJANGO_SETTINGS_MODULE=openstack_dashboard.test.settings
commands = python setup.py build_sphinx