Skip to content

Commit

Permalink
Use latest stable versions of Xdebug and sqlsrv on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Mar 15, 2019
1 parent 77ecc63 commit 05d0b78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,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
Expand Down
6 changes: 1 addition & 5 deletions tests/travis/install-mssql-pdo_sqlsrv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 1 addition & 5 deletions tests/travis/install-mssql-sqlsrv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 05d0b78

Please sign in to comment.