.travis.yml
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
matrix:
include:
- php: 5.6
- php: hhvm
- php: nightly
- php: 7.0
env: COVERAGE=yes
- php: 7.1
allow_failures:
- php: nightly
- php: hhvm
fast_finish: true
before_install:
- if [[ $TRAVIS_PHP_VERSION != hhvm && $COVERAGE != yes ]]; then phpenv config-rm xdebug.ini; fi;
- composer selfupdate
install:
- composer install --no-interaction --optimize-autoloader
script:
- ./bin/phpunit.phar --coverage-clover build/logs/clover.xml
after_success:
- ./bin/test-reporter
notifications:
email: false
addons:
code_climate:
repo_token: 57c9860728e3bf94a48765d4d0041c90bc83aec0f7b526a73c3c06495c3091d9