.travis.yml
language: php
branches:
only:
- master
php:
- '5.3'
- '5.4'
- '5.5'
- '7.0'
- hhvm
matrix:
allow_failures:
- php: hhvm
install:
- composer install
before_script:
- mkdir -p build/logs
script:
- phpunit --coverage-clover build/logs/clover.xml
after_success:
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then CODECLIMATE_REPO_TOKEN=965e557876d43d1e1554bebf091370b3246dffd98e01935c22d3002b54add7f6 ./vendor/bin/test-reporter; fi;'