Re-enable ODBC tests

This commit is contained in:
Anatol Belski 2018-01-04 17:31:59 +01:00
parent 205f527379
commit 67872afefd
2 changed files with 7 additions and 0 deletions

View file

@ -44,6 +44,7 @@ services:
# the setup scripts have to be touched, once some other db version is used
- mysql
- postgresql96
- mssql2017
platform:
- x64

View file

@ -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