.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- nightly
- hhvm
matrix:
allow_failures:
- php: nightly
fast_finish: true
before_script:
- composer install --dev
- if [[ $TRAVIS_PHP_VERSION == 5.4 ]]; then composer require codeclimate/php-test-reporter; fi
script:
- if [[ $TRAVIS_PHP_VERSION == 5.4 ]];
then phpunit --debug --coverage-text --coverage-clover build/logs/clover.xml;
else phpunit --debug;
fi
after_script:
- if [ $TRAVIS_PHP_VERSION == 5.4 ]; then ./vendor/bin/test-reporter; fi
addons:
code_climate:
repo_token: eeb9486f63ef85d680ea95d50cf606644f10424257f605268735f6455f1913d7