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
|
whitelist_externals = bash
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
basepython = python3
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
basepython = python3
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:checksyntax]
|
[testenv:checksyntax]
|
||||||
|
basepython = python3
|
||||||
commands = python gerrit_dash_creator/cmd/creator.py --check-only dashboards
|
commands = python gerrit_dash_creator/cmd/creator.py --check-only dashboards
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
|
basepython = python3
|
||||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
basepython = python3
|
||||||
commands =
|
commands =
|
||||||
# not happy with generated dashboard pages
|
# not happy with generated dashboard pages
|
||||||
# doc8 -e .rst doc CONTRIBUTING.rst HACKING.rst README.rst
|
# 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
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||||
|
|
||||||
[testenv:dashboards]
|
[testenv:dashboards]
|
||||||
|
basepython = python3
|
||||||
commands =
|
commands =
|
||||||
bash -c "tools/generate_dashboards.sh"
|
bash -c "tools/generate_dashboards.sh"
|
||||||
sphinx-build doc/source/ build/
|
sphinx-build doc/source/ build/
|
||||||
|
|
||||||
[testenv:bindep]
|
[testenv:bindep]
|
||||||
|
basepython = python3
|
||||||
# Do not install any requirements. We want this to be fast and work even if
|
# 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
|
# system dependencies are missing, since it's used to tell you what system
|
||||||
# dependencies are missing! This also means that bindep must be installed
|
# dependencies are missing! This also means that bindep must be installed
|
||||||
|
|
Loading…
Reference in New Issue