Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 862 Bytes
language: php
php:
- 5.3.3
- 5.3
- 5.4
before_install:
- cp tests/TestConfiguration.php.travis tests/TestConfiguration.php
- composer 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 --dry-run --level=psr2 library); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 tests); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 bin); 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.dev"
email: false
Jump to Line
Something went wrong with that request. Please try again.