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: If8854cc4baf59801953e7533e04cdb238324f398
This commit is contained in:
wangyayan 2018-10-08 11:14:12 +08:00
parent 1cea2a9d3c
commit 228f2da555
1 changed files with 1 additions and 1 deletions

View File

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