Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Run php-cs-fixer after phpunit on travis

  • Loading branch information...
commit 8efae097cd62062ede8884530bbcf926bcabaaac 1 parent 37b25cf
Evan Coury EvanDotPro authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  .travis.yml
2  .travis.yml
View
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.