Skip to content

Commit 2b09bad

Browse files
authored
Merge pull request #6760 from greg0ire/change-dl-source
Change download source
2 parents eb6572f + 820ac52 commit 2b09bad

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.appveyor.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,8 @@ install:
7878
$destination = "c:\tools\php\ext\php_pdo_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip"
7979
Invoke-WebRequest $source -OutFile $destination
8080
7z x -y php_pdo_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip > $null
81-
82-
# Pin the version until https://github.com/krakjoe/pcov/issues/117 is resolved
83-
$DLLVersion = "1.0.11"
84-
Invoke-WebRequest https://windows.php.net/downloads/pecl/releases/pcov/$($DLLVersion)/php_pcov-$($DLLVersion)-$($env:php)-nts-vc15-$($env:platform).zip -OutFile pcov.zip
81+
$DLLVersion = (Invoke-WebRequest "https://pecl.php.net/rest/r/pcov/stable.txt").Content
82+
Invoke-WebRequest https://downloads.php.net/~windows/pecl/releases/pcov/$($DLLVersion)/php_pcov-$($DLLVersion)-$($env:php)-nts-vc15-$($env:platform).zip -OutFile pcov.zip
8583
7z x -y pcov.zip > $null
8684
Remove-Item c:\tools\php\* -include .zip
8785
cd c:\tools\php

0 commit comments

Comments
 (0)