Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 420 Bytes
language: php
php:
- 5.4
before_install:
- curl -s https://getcomposer.org/installer | php -- --quiet
- php composer.phar install --dev
- wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
script:
- phpunit -c tests/phpunit.xml.dist
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 .); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;
Something went wrong with that request. Please try again.