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: If0f86ecb4c18216daf158101dbd3663bda06956f
This commit is contained in:
Van Hung Pham 2018-07-18 11:43:04 +07:00
parent 401ebe627c
commit 29a386df3c
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ passenv=HTTP_PROXY HTTPS_PROXY http_proxy https_proxy NO_PROXY no_proxy
# Please use `make docs` instead
[testenv:docs]
basepython=python3
whitelist_externals=
rm
cp
@ -45,6 +46,7 @@ commands=
tox -c {toxinidir}/src/bin/shipyard_client/tox.ini -e py36
[testenv:pep8]
basepython=python3
whitelist_externals=
tox
commands=