From 71515a9c7c57fff96f162cc12abd6ebe9d4e715a Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Thu, 14 Mar 2019 18:31:57 -0700 Subject: [PATCH 1/2] Use latest stable versions of sqlsrv and pdo_sqlsrv on CI --- tests/travis/install-mssql-pdo_sqlsrv.sh | 6 +----- tests/travis/install-mssql-sqlsrv.sh | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/tests/travis/install-mssql-pdo_sqlsrv.sh b/tests/travis/install-mssql-pdo_sqlsrv.sh index 6a82459cc6c..9893d0f8c78 100644 --- a/tests/travis/install-mssql-pdo_sqlsrv.sh +++ b/tests/travis/install-mssql-pdo_sqlsrv.sh @@ -4,8 +4,4 @@ set -ex echo "Installing extension" -if [ "$TRAVIS_PHP_VERSION" == "7.3" ] || [ "$TRAVIS_PHP_VERSION" == "nightly" ] ; then - pecl install pdo_sqlsrv-5.4.0preview -else - pecl install pdo_sqlsrv -fi +pecl install pdo_sqlsrv diff --git a/tests/travis/install-mssql-sqlsrv.sh b/tests/travis/install-mssql-sqlsrv.sh index 18c9453a866..10132619c59 100644 --- a/tests/travis/install-mssql-sqlsrv.sh +++ b/tests/travis/install-mssql-sqlsrv.sh @@ -4,8 +4,4 @@ set -ex echo "Installing extension" -if [ "$TRAVIS_PHP_VERSION" == "7.3" ] || [ "$TRAVIS_PHP_VERSION" == "nightly" ] ; then - pecl install sqlsrv-5.4.0preview -else - pecl install sqlsrv -fi +pecl install sqlsrv From a0b958b99b0b0b110a49671f5b9f1fcda76fd01c Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Thu, 14 Mar 2019 20:45:03 -0700 Subject: [PATCH 2/2] Temporarily switching to sqlisrv 5.5.0preview on AppVeyor See https://github.com/Microsoft/msphpsql/issues/955 --- .appveyor.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index cfdc76aeb08..63a9c0ddb73 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -68,8 +68,7 @@ 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 latest stable sqlsrv DLL's - $DLLVersion = (Invoke-WebRequest "https://pecl.php.net/rest/r/sqlsrv/stable.txt").Content + $DLLVersion = "5.5.0preview" 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" @@ -79,7 +78,7 @@ install: $destination = "c:\tools\php\ext\php_pdo_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip" Invoke-WebRequest $source -OutFile $destination 7z x -y php_pdo_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip > $null - $DLLVersion = "2.6.0" + $DLLVersion = (Invoke-WebRequest "https://pecl.php.net/rest/r/xdebug/stable.txt").Content $source = "https://xdebug.org/files/php_xdebug-$($DLLVersion)-$($env:php)-vc15-nts-x86_64.dll" $destination = "c:\tools\php\ext\php_xdebug.dll" Invoke-WebRequest $source -OutFile $destination