From: Oleg Broytman Date: Thu, 28 Jun 2018 14:24:14 +0000 (+0300) Subject: Build, Tests(tox): Python 3.7 X-Git-Tag: 0.7.0~6 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=fc4c763f8e897e8b1925424fc28f58226417093a;p=ppu.git Build, Tests(tox): Python 3.7 [skip ci] --- diff --git a/devscripts/release b/devscripts/release index b02e470..c6bc18a 100755 --- a/devscripts/release +++ b/devscripts/release @@ -9,7 +9,7 @@ python setup.py build_py && python setup.py build --executable '/usr/bin/env python' && python setup.py sdist && -for py in 2.7 3.3 3.4 3.5 3.6; do +for py in 2.7 3.3 3.4 3.5 3.6 3.7; do find build -name '*.py[co]' -delete && python$py setup.py build_py && python$py setup.py build --executable '/usr/bin/env python' && diff --git a/tox.ini b/tox.ini index 03cdc06..45c75b4 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 1.8 -envlist = {py27,py33,py34,py35,py36},pypy,{py27,py34}-flake8 +envlist = py{27,33,34,35,36,37}, pypy, py{27,34}-flake8 # 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 @@ -46,6 +47,11 @@ commands = {[testenv]commands} {[general]commands} +[testenv:py37] +commands = + {[testenv]commands} + {[general]commands} + [testenv:pypy] commands = {[testenv]commands}