forked from maglnet/ComposerRequireChecker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
30 lines (25 loc) · 919 Bytes
/
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
environment:
COMPOSER_NO_INTERACTION: "1"
ANSICON: '121x90 (121x90)'
matrix:
- PHP_VERSION: '7.2'
COMPOSER_FLAGS: '--prefer-stable --prefer-lowest'
- PHP_VERSION: '7.3'
- PHP_VERSION: '7.4'
matrix:
fast_finish: true
init:
- SET PATH=C:\Program Files\OpenSSL;C:\tools\php;%PATH%
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_VERSION -Highest -Arch x64 -Extensions mbstring,fileinfo,openssl
- echo zend_extension=php_opcache.dll >> C:\tools\php\php.ini
- refreshenv
- php -r "readfile('https://getcomposer.org/installer');" | php
- php composer.phar update %COMPOSER_FLAGS% --no-interaction --no-progress -vvv
- php composer.phar info -D | sort
test_script:
- vendor/bin/phpunit -c phpunit.xml.dist