.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=1d2fa03e59745f920b88e1e45c1d49fa05a5dcc83e00596b84d84c966dd9ccc2 ./vendor/bin/test-reporter; fi;'