Merge "fix tox python3 overrides"
This commit is contained in:
commit
8d5c5fa825
5
tox.ini
5
tox.ini
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue