Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-10-03 12:56:55 +00:00 committed by Gerrit Code Review
commit b948a60625
1 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@ setenv = VIRTUAL_ENV={envdir}
whitelist_externals = bash
[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
@ -19,9 +20,11 @@ deps = bindep
commands = bindep test
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
[testenv:pep8]
basepython = python3
commands =
# Run hacking/flake8 check for all python files
bash -c "git ls-files | xargs grep --binary-files=without-match \
@ -41,6 +44,7 @@ commands =
bash ci-scripts/ansible-lint.sh
[testenv:linters]
basepython = python3
deps =
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/ansible-requirements.txt
@ -49,6 +53,7 @@ commands =
{[testenv:ansible-lint]commands}
[testenv:venv]
basepython = python3
commands = {posargs}
[flake8]