From fc4c763f8e897e8b1925424fc28f58226417093a Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 28 Jun 2018 17:24:14 +0300 Subject: [PATCH] Build, Tests(tox): Python 3.7 [skip ci] --- devscripts/release | 2 +- tox.ini | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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} -- 2.39.5