Skip to content

Commit b572660

Browse files
committed
test/rework windows ci build setup
1 parent bd1c358 commit b572660

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

appveyor.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,15 @@ init:
2727

2828
## Install PHP and composer, and run the appropriate composer command Get the MSSQL DLL's and XDEBUG
2929
install:
30+
# Enable Windows Update service, needed to install vcredist2015 (dependency of php)
3031
- IF EXIST c:\tools\php (SET PHP=0)
31-
- ps: >-
32-
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|]','')
33-
- appveyor-retry cinst -y sqlite
32+
- ps: Set-Service wuauserv -StartupType Manual
33+
- choco config set cacheLocation %LOCALAPPDATA%\Temp\Chocolatey
34+
- choco install -y php --version %php_ver_target%
35+
- choco install -y sqlite
36+
- choco install -y composer
37+
- refreshenv
38+
- composer install --no-interaction --no-progress --prefer-dist
3439
- cd c:\tools\php
3540
# Get the MSSQL DLL's
3641
- ps: >-

0 commit comments

Comments
 (0)