From: Oleg Broytman Date: Thu, 28 Jun 2018 14:23:46 +0000 (+0300) Subject: Build, Tests(tox): Python 3.7 X-Git-Tag: 0.1.5~6 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=4d87fd17ffafeeb747df5f218cfb7a83e5fa7276;p=m_librarian.git Build, Tests(tox): Python 3.7 [skip ci] --- 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 =