Add py36 to tox and default to python3 for pep8 and venv
Change-Id: I3fa2748162b67363b62ca445dc1122ce7bf2bb94
This commit is contained in:
parent
632e4bda67
commit
aa60f7c194
6
tox.ini
6
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py35,py27,pep8
|
envlist = py36,py35,py27,pep8
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ passenv = ZUUL_PROJECT
|
|||||||
commands = ./run_tests.sh -N --db-type mysql
|
commands = ./run_tests.sh -N --db-type mysql
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python2.7
|
basepython = python3
|
||||||
commands =
|
commands =
|
||||||
doc8 doc/source
|
doc8 doc/source
|
||||||
python setup.py check --restructuredtext --strict
|
python setup.py check --restructuredtext --strict
|
||||||
@ -68,7 +68,7 @@ commands =
|
|||||||
|
|
||||||
#set PYTHONHASHSEED=0 to prevent wsmeext.sphinxext from randomly failing.
|
#set PYTHONHASHSEED=0 to prevent wsmeext.sphinxext from randomly failing.
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
basepython = python2.7
|
basepython = python3
|
||||||
setenv = PYTHONHASHSEED=0
|
setenv = PYTHONHASHSEED=0
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user