Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-07-16 13:11:16 +00:00 committed by Gerrit Code Review
commit ed35bbcdab

View File

@ -11,12 +11,15 @@ deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}' commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:venv] [testenv:venv]
basepython = python3
commands = {posargs} commands = {posargs}
[testenv:docs] [testenv:docs]
basepython = python3
commands = python setup.py build_sphinx commands = python setup.py build_sphinx
[testenv:pep8] [testenv:pep8]
basepython = python3
whitelist_externals = bash whitelist_externals = bash
# We fail pretty horribly on bashate right now # We fail pretty horribly on bashate right now
#commands = bash -c "find scripts -type f | xargs bashate -v" #commands = bash -c "find scripts -type f | xargs bashate -v"
@ -28,4 +31,5 @@ show-source = True
exclude = .tox,dist,doc,*.egg,build exclude = .tox,dist,doc,*.egg,build
[testenv:deploy-guide] [testenv:deploy-guide]
basepython = python3
commands = sphinx-build -a -E -W -d deploy-guide/build/doctrees -b html deploy-guide/source deploy-guide/build/html commands = sphinx-build -a -E -W -d deploy-guide/build/doctrees -b html deploy-guide/source deploy-guide/build/html