Permalink
Browse files

Run php-cs-fixer after phpunit on travis

  • Loading branch information...
1 parent 37b25cf commit 8efae097cd62062ede8884530bbcf926bcabaaac @EvanDotPro EvanDotPro committed Jul 26, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 .travis.yml
View
2 .travis.yml
@@ -9,9 +9,11 @@ before_install:
- cp tests/TestConfiguration.php.travis tests/TestConfiguration.php
- curl -s https://getcomposer.org/installer | php -- --quiet
- php composer.phar install --dev
+ - wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
script:
- php ./tests/run-tests.php
+ - output=$(php php-cs-fixer.phar fix -v --fixers=elseif,trailing_spaces,linefeed,indentation --dry-run .); if [[ $output ]]; then echo -e "\e[00;31m$output\e[00m"; false; fi;
notifications:
irc: "irc.freenode.org#zftalk.2"

0 comments on commit 8efae09

Please sign in to comment.