Skip to content

Commit

Permalink
Merge pull request #6708 from greg0ire/pin-pcov-windows
Browse files Browse the repository at this point in the history
Pin the version of PCOV for Windows
  • Loading branch information
greg0ire authored Jan 13, 2025
2 parents 36aa8b4 + 9963f91 commit e149322
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ 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 = (Invoke-WebRequest "https://pecl.php.net/rest/r/pcov/stable.txt").Content
# Pin the version until https://github.com/krakjoe/pcov/issues/117 is resolved
$DLLVersion = "1.0.11"
Invoke-WebRequest https://windows.php.net/downloads/pecl/releases/pcov/$($DLLVersion)/php_pcov-$($DLLVersion)-$($env:php)-nts-vc15-$($env:platform).zip -OutFile pcov.zip
7z x -y pcov.zip > $null
Remove-Item c:\tools\php\* -include .zip
Expand Down

0 comments on commit e149322

Please sign in to comment.