From 6999ccb5d8e00c1c4a85439b1f03f91b1550378a Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 17 Dec 2017 14:19:27 +0300 Subject: [PATCH] Tests(tox.ini): Set platform Default platform is linux, but for *-w32 environments it's win32. --- tox.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tox.ini b/tox.ini index 423f411..adee35e 100644 --- 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 -- 2.39.5