set default python to python3
Set the default python to python3 except for the py27 environment. We have to set that explicitly to override the new default. Change-Id: Ica596235831a51cb02afb46c5e1a167a32cf6bf5 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
55e0fd8f71
commit
bd96a33f79
2
tox.ini
2
tox.ini
|
@ -3,6 +3,7 @@ minversion = 2.0
|
|||
envlist = py35,py27,pypy,pep8,bandit
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
BRANCH_NAME=master
|
||||
|
@ -27,6 +28,7 @@ commands =
|
|||
find . -type f -name "*.py[co]" -delete
|
||||
python setup.py testr --slowest --testr-args='{posargs}'
|
||||
doc8 --ignore-path "doc/source/history.rst" doc/source
|
||||
basepython = python2.7
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
|
Loading…
Reference in New Issue