X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=project_template%2Ftox.ini;h=84b0513afb73dde8f02e4af637429a45687dbe03;hb=e0dc4ceac23cdb539ac22c0fdded1f1d181c43bf;hp=2164f059b1e4df294c976f448b6db60cbf321402;hpb=f59ff0d31d44c1bade3eaa8d02ecb36d65bc415a;p=cookiecutter.git diff --git a/project_template/tox.ini b/project_template/tox.ini index 2164f05..84b0513 100644 --- a/project_template/tox.ini +++ b/project_template/tox.ini @@ -1,7 +1,7 @@ [tox] -minversion = 2.0 toxworkdir={homedir}/.tox/{project} -envlist = py27,py3{4,5,6},py{27,34}-flake8 +envlist = py27,py3{4,5,6,7},py{27,37}-flake8 +minversion = 3.15 # Base test environment settings [testenv] @@ -10,6 +10,7 @@ basepython = py34: {env:TOXPYTHON:python3.4} py35: {env:TOXPYTHON:python3.5} py36: {env:TOXPYTHON:python3.6} + py37: {env:TOXPYTHON:python3.7} pypy: {env:TOXPYTHON:pypy} commands = {envpython} --version @@ -43,6 +44,10 @@ commands = commands = {[general]commands} +[testenv:py37] +commands = + {[general]commands} + [testenv:py27-flake8] deps = flake8 @@ -50,7 +55,7 @@ commands = {[testenv]commands} flake8 -[testenv:py34-flake8] +[testenv:py37-flake8] deps = flake8 commands =