]> git.phdru.name Git - sqlconvert.git/blobdiff - tox.ini
CI(AppVeyor): Work around a strange problem with Py3.7
[sqlconvert.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 030496a40255c33fdf75cf4a9828f24721e798ec..a185a37bef77eb9213da845d999cee7809b770c2 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -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]