Skip to content

Commit

Permalink
Merge pull request #3307 from morozov/sqlsrv-latest
Browse files Browse the repository at this point in the history
Test against the latest stable sqlsrv extension
  • Loading branch information
Ocramius authored Oct 3, 2018
2 parents b45ed5e + 66685dc commit ed25dc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/travis/install-mssql-pdo_sqlsrv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -ex

echo "Installing extension"
pecl install pdo_sqlsrv-5.2.0
pecl install pdo_sqlsrv
2 changes: 1 addition & 1 deletion tests/travis/install-mssql-sqlsrv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -ex

echo "Installing extension"
pecl install sqlsrv-5.2.0
pecl install sqlsrv

0 comments on commit ed25dc9

Please sign in to comment.