Skip to content

Commit

Permalink
Fix chocolatey by disabling optimisations
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Aug 5, 2019
1 parent c372ec3 commit 0787ed6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ services:
install:
- IF EXIST C:\tools\php (SET PHP=0)
- ps: >-
choco feature disable -n usePackageRepositoryOptimizations
If ($env:php_ver_target -eq "5.6") {
appveyor-retry cinst --params '""/InstallDir:C:\tools\php""' --ignore-checksums -y --forcex86 php --version ((choco search php --exact --all-versions -r | select-string -pattern $env:php_ver_target | sort { [version]($_ -split '\|' | select -last 1) } -Descending | Select-Object -first 1) -replace '[php|]','')
} Else {
Expand Down

0 comments on commit 0787ed6

Please sign in to comment.