From 4d87fd17ffafeeb747df5f218cfb7a83e5fa7276 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 28 Jun 2018 17:23:46 +0300 Subject: [PATCH] Build, Tests(tox): Python 3.7 [skip ci] --- devscripts/release | 2 +- tox.ini | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/devscripts/release b/devscripts/release index 3076437..cbe4ba1 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.4 3.5 3.6; do +for py in 2.7 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 c81ccee..5e2f6b2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = {py27,py34,py35,py36},{py27,py34}-flake8 +envlist = py{27,34,35,36,37},py{27,34}-flake8 # Base test environment settings [testenv] @@ -9,6 +9,7 @@ basepython = py34: {env:TOXPYTHON:python3.4} py35: {env:TOXPYTHON:python3.5} py36: {env:TOXPYTHON:python3.6} + py37: {env:TOXPYTHON:python3.7} commands = {envpython} --version {envpython} -c "import struct; print(struct.calcsize('P') * 8)" @@ -35,6 +36,9 @@ commands = {[general]commands} [testenv:py36] commands = {[general]commands} +[testenv:py37] +commands = {[general]commands} + [sqlite-w32] platform = win32 commands = @@ -59,6 +63,10 @@ commands = {[sqlite-w32]commands} platform = win32 commands = {[sqlite-w32]commands} +[testenv:py37-sqlite-w32] +platform = win32 +commands = {[sqlite-w32]commands} + # flake8 [testenv:py27-flake8] deps = -- 2.39.2