See #375. Download PHP-CS-Fixer using cURL for Windows CI

This commit is contained in:
Glavin Wiechert 2015-06-08 13:52:42 -03:00
parent cc713e4efa
commit 78b6d55a0a
1 changed files with 3 additions and 2 deletions

View File

@ -95,8 +95,9 @@ install:
- "SET PATH=C:\\tools\\php;%PATH%" - "SET PATH=C:\\tools\\php;%PATH%"
- where php - where php
# PHP-CS-Fixer # PHP-CS-Fixer
- ps: iex ((new-object net.webclient).DownloadString('http://get.sensiolabs.org/php-cs-fixer.phar')) - cinst curl -y # Use cURL to download file from URL
- where php-cs-fixer.phar - curl http://get.sensiolabs.org/php-cs-fixer.phar -o php-cs-fixer
- "SET PATH=%cd%;%PATH%" # Add current working directory to PATH
- where php-cs-fixer - where php-cs-fixer
build_script: build_script: