See #375. Use Chocolatey to install PHP's Composer in Windows CI
This commit is contained in:
parent
0c7c1247ef
commit
c3635aa7a6
|
@ -91,10 +91,9 @@ install:
|
||||||
- "SET PATH=C:\\tools\\php;%PATH%"
|
- "SET PATH=C:\\tools\\php;%PATH%"
|
||||||
- where php
|
- where php
|
||||||
# Composer
|
# Composer
|
||||||
- php -r "readfile('https://getcomposer.org/installer');" | php
|
- choco install composer
|
||||||
- echo @php "%~dp0composer.phar" %*>composer.bat
|
|
||||||
# PHP-CS-Fixer
|
# PHP-CS-Fixer
|
||||||
- ./composer.phar global require fabpot/php-cs-fixer
|
- php composer.phar global require fabpot/php-cs-fixer
|
||||||
- where php-cs-fixer
|
- where php-cs-fixer
|
||||||
|
|
||||||
# emacs
|
# emacs
|
||||||
|
|
Loading…
Reference in New Issue