]> git.phdru.name Git - sqlconvert.git/blobdiff - tox.ini
CI(AppVeyor): Move `validators.py` -> `devscripts/CI/`
[sqlconvert.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 030496a40255c33fdf75cf4a9828f24721e798ec..78de300d5adf462e62ec4e644b9d870291c6ab57 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 devscripts\\CI\\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]