]> 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 0481b43b931be51a4b417cd90353aee29260d8b8..78de300d5adf462e62ec4e644b9d870291c6ab57 100644 (file)
--- 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 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]
@@ -158,7 +163,7 @@ commands =
     {[testenv]commands}
     flake8
 
-[testenv:py34-flake8]
+[testenv:py37-flake8]
 deps =
     flake8
 commands =