com php-src: Enable ODBC tests on AppVeyor: .appveyor.yml appveyor/test_task.bat

From: Date: Wed, 03 Jan 2018 19:28:16 +0000
Subject: com php-src: Enable ODBC tests on AppVeyor: .appveyor.yml appveyor/test_task.bat
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100776@lists.php.net to get a copy of this message
Commit: b0db19e2231f23fc4bd3138aad8eee5dce98ece1 Author: Anatol Belski <ab@php.net> Wed, 3 Jan 2018 20:28:16 +0100 Parents: f4076bb1b368bfc677d9be7fb14cecc5a974fb99 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b0db19e2231f23fc4bd3138aad8eee5dce98ece1 Log: Enable ODBC tests on AppVeyor Changed paths: M .appveyor.yml M appveyor/test_task.bat Diff: diff --git a/.appveyor.yml b/.appveyor.yml index 8b7b69a..b2f6484 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -44,6 +44,7 @@ services: # the setup scripts have to be touched, once some other db version is used - mysql - postgresql96 + - mssql2017 platform: - x64 diff --git a/appveyor/test_task.bat b/appveyor/test_task.bat index 1ffdc3c..2592da5 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

« previous php.cvs (#100776) next »