Merge "set default python to python3"

This commit is contained in:
Zuul 2018-04-17 16:39:08 +00:00 committed by Gerrit Code Review
commit 27735dffaa
1 changed files with 2 additions and 0 deletions

View File

@ -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}