language: php

php:
  - 5.3
  - 5.4
  - 5.5

before_install:
  - wget http://cs.sensiolabs.org/get/php-cs-fixer.phar

before_script:
  - composer self-update
  - composer install --dev

script:
  - phpunit
  - 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;

language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - hhvm

before_install:
  - wget http://cs.sensiolabs.org/get/php-cs-fixer.phar

before_script:
  - composer self-update
  - composer install --dev

script:
  - phpunit
  - 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;

Test with HHVM on Travis
Test with HHVM on Travis
