X-Git-Url: https://git.phdru.name/?p=sqlconvert.git;a=blobdiff_plain;f=tox.ini;h=a185a37bef77eb9213da845d999cee7809b770c2;hp=0481b43b931be51a4b417cd90353aee29260d8b8;hb=7bc628931bf0b70ec21f1ba657c71f223c3d01ea;hpb=0468a4d1ef42d85c1eed9eea50aeef3296d73625 diff --git a/tox.ini b/tox.ini index 0481b43..a185a37 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py{27,34,35,36,37}{,-sqlite},py{27,34}-flake8 +envlist = py{27,34,35,36,37}{,-sqlite},py{27,37}-flake8 # Base test environment settings [testenv] @@ -20,6 +20,7 @@ passenv = PGPASSWORD platform = linux # Don't fail or warn on uninstalled commands whitelist_externals = + cmd createdb dropdb @@ -97,7 +98,9 @@ commands = {[postgres-w32]commands} [testenv:py37-postgres-w32] platform = win32 -commands = {[postgres-w32]commands} +commands = + cmd /c "copy validators.py {envsitepackagesdir}\\formencode\\validators.py" + {[postgres-w32]commands} # SQLite test environments [sqlite] @@ -148,7 +151,9 @@ commands = {[sqlite-w32]commands} [testenv:py37-sqlite-w32] platform = win32 -commands = {[sqlite-w32]commands} +commands = + cmd /c "copy validators.py {envsitepackagesdir}\\formencode\\validators.py" + {[sqlite-w32]commands} # flake8 [testenv:py27-flake8] @@ -158,7 +163,7 @@ commands = {[testenv]commands} flake8 -[testenv:py34-flake8] +[testenv:py37-flake8] deps = flake8 commands =