Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-12-18 07:43:49 +00:00 committed by Gerrit Code Review
commit aa512a8d59
1 changed files with 7 additions and 0 deletions

View File

@ -20,12 +20,15 @@ deps =
commands = python manage.py test {posargs} --settings=masakaridashboard.test.settings --verbosity 2
[testenv:pep8]
basepython = python3
commands = flake8 {posargs}
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:cover]
basepython = python3
commands =
coverage erase
coverage run {toxinidir}/manage.py test masakaridashboard --settings=masakaridashboard.test.settings {posargs}
@ -33,6 +36,7 @@ commands =
coverage html --omit '.tox/cover/*' -d 'cover/htmlcov'
[testenv:eslint]
basepython = python3
whitelist_externals = npm
commands =
npm install
@ -40,6 +44,7 @@ commands =
npm run lint
[testenv:karma]
basepython = python3
# NOTE(shu-mutou): Until PhantomJS setup get reliable, we use
# Chromium for JS test. And npm can't launch Chromium via tox.
#whitelist_externals = npm
@ -53,6 +58,7 @@ commands =
echo "nexecute `npm run test`"
[testenv:docs]
basepython = python3
# We need to install horizon dependencies to build module references
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
@ -62,6 +68,7 @@ commands =
sphinx-build -W -b html doc/source doc/build/html
[testenv:releasenotes]
basepython = python3
# There is no need to install horizon.
usedevelop = False
deps =