Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-10-19 16:29:51 +00:00 committed by Gerrit Code Review
commit eb3865fe0d
1 changed files with 7 additions and 0 deletions

View File

@ -13,18 +13,23 @@ deps = -r{toxinidir}/requirements.txt
whitelist_externals = bash
[testenv:pep8]
basepython = python3
commands = flake8
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:checksyntax]
basepython = python3
commands = python gerrit_dash_creator/cmd/creator.py --check-only dashboards
[testenv:cover]
basepython = python3
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:docs]
basepython = python3
commands =
# not happy with generated dashboard pages
# doc8 -e .rst doc CONTRIBUTING.rst HACKING.rst README.rst
@ -40,11 +45,13 @@ builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
[testenv:dashboards]
basepython = python3
commands =
bash -c "tools/generate_dashboards.sh"
sphinx-build doc/source/ build/
[testenv:bindep]
basepython = python3
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed