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
|
commands = {toxinidir}/manage.py test karbor_dashboard --settings=karbor_dashboard.test.settings
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
basepython = python3
|
||||||
commands =
|
commands =
|
||||||
/bin/bash run_tests.sh -N --pep8
|
/bin/bash run_tests.sh -N --pep8
|
||||||
/bin/bash run_tests.sh -N --makemessages --check-only
|
/bin/bash run_tests.sh -N --makemessages --check-only
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
basepython = python3
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
|
basepython = python3
|
||||||
commands = /bin/bash run_tests.sh -N --no-pep8 --coverage {posargs}
|
commands = /bin/bash run_tests.sh -N --no-pep8 --coverage {posargs}
|
||||||
|
|
||||||
[testenv:py27dj18]
|
[testenv:py27dj18]
|
||||||
|
@ -40,12 +43,14 @@ basepython = python2.7
|
||||||
commands = /bin/bash run_tests.sh -N --integration --selenium-headless {posargs}
|
commands = /bin/bash run_tests.sh -N --integration --selenium-headless {posargs}
|
||||||
|
|
||||||
[testenv:eslint]
|
[testenv:eslint]
|
||||||
|
basepython = python3
|
||||||
passenv = *
|
passenv = *
|
||||||
commands = nodeenv -p
|
commands = nodeenv -p
|
||||||
npm install
|
npm install
|
||||||
/bin/bash run_tests.sh -N --eslint
|
/bin/bash run_tests.sh -N --eslint
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
basepython = python3
|
||||||
setenv = DJANGO_SETTINGS_MODULE=openstack_dashboard.test.settings
|
setenv = DJANGO_SETTINGS_MODULE=openstack_dashboard.test.settings
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue