See #375. Use Chocolatey to install PHP's Composer in Windows CI

This commit is contained in:
Glavin Wiechert 2015-06-01 22:20:01 -03:00
parent 0c7c1247ef
commit c3635aa7a6
1 changed files with 2 additions and 3 deletions

View File

@ -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