Skip to content

Commit

Permalink
php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Guyomard committed Dec 5, 2016
1 parent 0fb7c77 commit 9631c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ php:
sudo: false

env:
- PHPCSFIXER_PATH=$HOME/phar/php-cs-fixer.phar
- PHPCSFIXER_PATH=$HOME/phar/php-cs-fixer-1.13.phar

cache:
directories:
- $HOME/phar/

before_script:
- 'if [ ! -f $PHPCSFIXER_PATH ]; then mkdir -p `dirname $PHPCSFIXER_PATH` && curl -o $PHPCSFIXER_PATH http://get.sensiolabs.org/php-cs-fixer.phar; fi'
- 'if [ ! -f $PHPCSFIXER_PATH ]; then mkdir -p `dirname $PHPCSFIXER_PATH` && curl -L -o $PHPCSFIXER_PATH https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v1.13.1/php-cs-fixer.phar; fi'
- php $PHPCSFIXER_PATH -V

script:
Expand Down

0 comments on commit 9631c5f

Please sign in to comment.