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
|
envlist = py35,py27,pypy,pep8,bandit
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
basepython = python3
|
||||||
setenv =
|
setenv =
|
||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
BRANCH_NAME=master
|
BRANCH_NAME=master
|
||||||
|
@ -27,6 +28,7 @@ commands =
|
||||||
find . -type f -name "*.py[co]" -delete
|
find . -type f -name "*.py[co]" -delete
|
||||||
python setup.py testr --slowest --testr-args='{posargs}'
|
python setup.py testr --slowest --testr-args='{posargs}'
|
||||||
doc8 --ignore-path "doc/source/history.rst" doc/source
|
doc8 --ignore-path "doc/source/history.rst" doc/source
|
||||||
|
basepython = python2.7
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
Loading…
Reference in New Issue