]> git.phdru.name Git - sqlconvert.git/commitdiff
Tests(tox.ini): Set platform
authorOleg Broytman <phd@phdru.name>
Sun, 17 Dec 2017 11:19:27 +0000 (14:19 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 17 Dec 2017 11:19:27 +0000 (14:19 +0300)
Default platform is linux, but for *-w32 environments it's win32.

tox.ini

diff --git a/tox.ini b/tox.ini
index 423f411688ddd7c7ef30f6b90acdc1dfd17b777f..adee35ea01aef17748d6a9f0c6317cc83bbed96a 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -16,6 +16,7 @@ deps =
     -rdevscripts/requirements/requirements_tests.txt
     postgres: psycopg2
 passenv = PGPASSWORD
+platform = linux
 # Don't fail or warn on uninstalled commands
 whitelist_externals =
     createdb
@@ -66,6 +67,7 @@ commands = {[postgresql]commands}
 commands = {[postgresql]commands}
 
 [postgres-w32]
+platform = win32
 commands =
     {[testenv]commands}
     -dropdb -U postgres -w test
@@ -74,15 +76,19 @@ commands =
     dropdb -U postgres -w test
 
 [testenv:py27-postgres-w32]
+platform = win32
 commands = {[postgres-w32]commands}
 
 [testenv:py34-postgres-w32]
+platform = win32
 commands = {[postgres-w32]commands}
 
 [testenv:py35-postgres-w32]
+platform = win32
 commands = {[postgres-w32]commands}
 
 [testenv:py36-postgres-w32]
+platform = win32
 commands = {[postgres-w32]commands}
 
 # SQLite test environments
@@ -106,6 +112,7 @@ commands = {[sqlite]commands}
 commands = {[sqlite]commands}
 
 [sqlite-w32]
+platform = win32
 commands =
     {[testenv]commands}
     -rm.py -f C:/projects/sqlconvert/test.sqdb
@@ -113,12 +120,15 @@ commands =
     rm.py -f C:/projects/sqlconvert/test.sqdb
 
 [testenv:py27-sqlite-w32]
+platform = win32
 commands = {[sqlite-w32]commands}
 
 [testenv:py34-sqlite-w32]
+platform = win32
 commands = {[sqlite-w32]commands}
 
 [testenv:py35-sqlite-w32]
+platform = win32
 commands = {[sqlite-w32]commands}
 
 # flake8