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 that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Idd5948c895b6d1da676b52ee0f987c4721cfb808
This commit is contained in:
98k 2018-10-08 02:58:04 +00:00
parent e86e580929
commit deb77bee3a

View File

@ -35,7 +35,7 @@ commands =
| xargs flake8 --verbose" | xargs flake8 --verbose"
[testenv:ansible-lint] [testenv:ansible-lint]
basepython=python2 basepython=python3
commands = commands =
bash ci-scripts/ansible-lint.sh bash ci-scripts/ansible-lint.sh