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