summaryrefslogtreecommitdiff
path: root/appveyor
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-01-04 17:31:59 +0100
committerAnatol Belski <ab@php.net>2018-01-04 17:31:59 +0100
commit67872afefd02b69fdb8f3e3fc9a38f97c259e529 (patch)
tree1856696ee02c28cf914b89fe1133cbb71b2ef470 /appveyor
parent205f527379246fa575742286156c5ea67a569804 (diff)
downloadphp-git-67872afefd02b69fdb8f3e3fc9a38f97c259e529.tar.gz
Re-enable ODBC tests
Diffstat (limited to 'appveyor')
-rw-r--r--appveyor/test_task.bat6
1 files changed, 6 insertions, 0 deletions
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