From 67872afefd02b69fdb8f3e3fc9a38f97c259e529 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 4 Jan 2018 17:31:59 +0100 Subject: Re-enable ODBC tests --- appveyor/test_task.bat | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'appveyor') diff --git a/appveyor/test_task.bat b/appveyor/test_task.bat index 1ffdc3cdf4..2592da5c5e 100644 --- a/appveyor/test_task.bat +++ b/appveyor/test_task.bat @@ -40,6 +40,12 @@ set PDO_PGSQL_TEST_DSN=pgsql:host=127.0.0.1 port=5432 dbname=test user=%PGUSER% "C:\Program Files\PostgreSQL\9.6\bin\createdb.exe" test if %errorlevel% neq 0 exit /b 3 +rem setup ODBC related exts +set ODBC_TEST_USER=sa +set ODBC_TEST_PASS=Password12! +set ODBC_TEST_DSN=Driver={ODBC Driver 13 for SQL Server};Server=(local)\SQL2017;Database=master;uid=%ODBC_TEST_USER%;pwd=%ODBC_TEST_PASS% +set PDOTEST_DSN=odbc:%ODBC_TEST_DSN% + rem prepare for ext/openssl if "%APPVEYOR%" equ "True" rmdir /s /q C:\OpenSSL-Win32 >NUL 2>NUL if "%APPVEYOR%" equ "True" rmdir /s /q C:\OpenSSL-Win64 >NUL 2>NUL -- cgit v1.2.1