Permalink
Browse files

Fix travis red line output

  • Loading branch information...
1 parent 8efae09 commit f6423a5f961a395c1cb5b35177b6d7232fcf018f @EvanDotPro EvanDotPro committed Jul 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.yml
View
@@ -13,7 +13,7 @@ before_install:
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;
+ - output=$(php php-cs-fixer.phar fix -v --fixers=elseif,trailing_spaces,linefeed,indentation --dry-run .); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;
notifications:
irc: "irc.freenode.org#zftalk.2"

0 comments on commit f6423a5

Please sign in to comment.