From 66685dc4ff624bd40795eab6c0f5de7fe2b15786 Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Tue, 2 Oct 2018 23:22:04 -0700 Subject: [PATCH] Test against the latest stable sqlsrv extension --- .appveyor.yml | 4 ++-- tests/travis/install-mssql-pdo_sqlsrv.sh | 2 +- tests/travis/install-mssql-sqlsrv.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 546ae92e554..636c269d846 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -68,8 +68,8 @@ install: Add-Content php.ini "`n extension=php_curl.dll" Add-Content php.ini "`n curl.cainfo=C:\tools\cacert\bundle.pem" - # Get and install the MSSQL DLL's - $DLLVersion = "5.2.0" + # Get and install the latest stable sqlsrv DLL's + $DLLVersion = (Invoke-WebRequest "https://pecl.php.net/rest/r/sqlsrv/stable.txt").Content cd c:\tools\php\ext $source = "https://windows.php.net/downloads/pecl/releases/sqlsrv/$($DLLVersion)/php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip" $destination = "c:\tools\php\ext\php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip" diff --git a/tests/travis/install-mssql-pdo_sqlsrv.sh b/tests/travis/install-mssql-pdo_sqlsrv.sh index 4f4384607c4..e9165549f6f 100644 --- a/tests/travis/install-mssql-pdo_sqlsrv.sh +++ b/tests/travis/install-mssql-pdo_sqlsrv.sh @@ -3,4 +3,4 @@ set -ex echo "Installing extension" -pecl install pdo_sqlsrv-5.2.0 +pecl install pdo_sqlsrv diff --git a/tests/travis/install-mssql-sqlsrv.sh b/tests/travis/install-mssql-sqlsrv.sh index 2921d5a922a..dede9458f7c 100644 --- a/tests/travis/install-mssql-sqlsrv.sh +++ b/tests/travis/install-mssql-sqlsrv.sh @@ -3,4 +3,4 @@ set -ex echo "Installing extension" -pecl install sqlsrv-5.2.0 +pecl install sqlsrv