fix tox python3 overrides
We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because of that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I574364f9b072387883bedfc7404072642041f380
This commit is contained in:
parent
1af4b55bab
commit
b50d16343d
4
tox.ini
4
tox.ini
@ -11,12 +11,15 @@ deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3
|
||||
commands = python setup.py build_sphinx
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
whitelist_externals = bash
|
||||
# We fail pretty horribly on bashate right now
|
||||
#commands = bash -c "find scripts -type f | xargs bashate -v"
|
||||
@ -28,4 +31,5 @@ show-source = True
|
||||
exclude = .tox,dist,doc,*.egg,build
|
||||
|
||||
[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
|
||||
|
Loading…
x
Reference in New Issue
Block a user