-
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
build: false | ||
shallow_clone: true | ||
platform: | ||
- x64 | ||
environment: | ||
matrix: | ||
- dependencies: lowest | ||
php_ver_target: 7.0 | ||
- dependencies: highest | ||
php_ver_target: 7.0 | ||
- dependencies: lowest | ||
php_ver_target: 7.1 | ||
- dependencies: highest | ||
php_ver_target: 7.1 | ||
clone_folder: c:\projects\slevomat-coding-standard | ||
cache: | ||
- c:\tools\php -> appveyor.yml | ||
init: | ||
- SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH% | ||
- SET COMPOSER_NO_INTERACTION=1 | ||
- SET PHP=1 | ||
- SET ANSICON=121x90 (121x90) | ||
install: | ||
- IF EXIST c:\tools\php (SET PHP=0) | ||
- ps: appveyor-retry cinst --ignore-checksums -y php --version ((choco search php --exact --all-versions -r | select-string -pattern $Env:php_ver_target | Select-Object -first 1) -replace '[php|]','') | ||
- cd c:\tools\php | ||
- IF %PHP%==1 copy php.ini-production php.ini /Y | ||
- IF %PHP%==1 echo date.timezone="UTC" >> php.ini | ||
- IF %PHP%==1 echo extension_dir=ext >> php.ini | ||
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini | ||
- IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini | ||
- IF %PHP%==1 echo extension=php_fileinfo.dll >> php.ini | ||
- IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat | ||
- appveyor-retry appveyor DownloadFile https://getcomposer.org/composer.phar | ||
- cd c:\projects\slevomat-coding-standard | ||
- IF %dependencies%==lowest appveyor-retry composer update --prefer-lowest --no-interaction --no-progress --profile | ||
- IF %dependencies%==highest appveyor-retry composer update --no-interaction --no-progress --profile | ||
- composer show | ||
test_script: | ||
- cd c:\projects\slevomat-coding-standard | ||
- bin/phing |