File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ platform:
33 - x64
44clone_folder : c:\projects\php-project-workspace
55
6-
76# # Build matrix for lowest and highest possible targets
87environment :
98 matrix :
@@ -14,9 +13,13 @@ environment:
1413 - dependencies : highest
1514 php_ver_target : 7.1
1615
17- # # Cache composer bits
16+ # # Cache composer, chocolatey and php bits
1817cache :
1918 - ' %LOCALAPPDATA%\Composer\files -> composer.lock'
19+ - composer.phar
20+ - C:\ProgramData\chocolatey\bin -> .appveyor.yml
21+ - C:\ProgramData\chocolatey\lib -> .appveyor.yml
22+ - c:\tools\php -> .appveyor.yml
2023
2124# # Set up environment varriables
2225init :
2831# # Install PHP and composer, and run the appropriate composer command
2932install :
3033 - IF EXIST c:\tools\php (SET PHP=0)
31- - ps : appveyor-retry cinst -y php --ignore-checksums -- version ((choco search php --exact --all-versions -r | select-string -pattern $Env :php_ver_target | Select-Object -first 1) -replace '[php|]','')
34+ - ps : appveyor-retry cinst --params '""/InstallDir:C:\tools\ php""' --ignore-checksums -y 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|]','')
3235 - cd c:\tools\php
3336 - IF %PHP%==1 copy php.ini-production php.ini /Y
3437 - IF %PHP%==1 echo date.timezone="UTC" >> php.ini
You can’t perform that action at this time.
0 commit comments