-
Notifications
You must be signed in to change notification settings - Fork 26
/
appveyor.yml
30 lines (26 loc) · 1.01 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
build: false
platform:
- x64
clone_folder: c:\projects\zipkin-php-example
environment:
matrix:
- php_ver_target: 7.4
init:
- SET COMPOSER_NO_INTERACTION=1
## Install PHP and composer, and run the appropriate composer command
install:
- ps: Invoke-WebRequest "https://raw.githubusercontent.com/ChadSikorra/ps-install-php/master/Install-PHP.ps1" -OutFile "Install-PHP.ps1"
- ps: .\Install-PHP.ps1 -Version $Env:php_ver_target -Highest -Arch x64 -Extensions mbstring,intl,openssl,curl
- rm .\Install-PHP.ps1
- refreshenv
- mkdir C:\composer
- cd C:\composer
- php -r "readfile('http://getcomposer.org/installer');" | php
- powershell -command "(Get-Item C:\composer\composer.phar).length"
- powershell -command "'@php C:\composer\composer.phar ' + $([char]37) + '*' | Out-File C:\composer\composer.bat -Encoding ASCII"
- SET PATH=C:\composer;%PATH%
- cd c:\projects\zipkin-php-example
- composer install --no-progress --profile
## Run the actual test
test_script:
- cd c:\projects\zipkin-php-example