.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_script:
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpenv config-add .travis.php.ini; fi;'
- if [[ "$TRAVIS_PHP_VERSION" == hhvm* ]]; then echo -e '\nhhvm.libxml.ext_entity_whitelist = "file"\n - if [[ "$TRAVIS_PHP_VERSION" == hhvm* ]]; then echo -e '\nhhvm.libxml.ext_entity_whitelist = "file"\ndate.timezone = "UTC"' | sudo tee -a /etc/hhvm/php.ini; fi' | sudo tee -a /etc/hhvm/php.ini; fi
- composer self-update
- composer install --dev --no-interaction
- mkdir -p build/logs
script: vendor/bin/phpunit --coverage-clover=build/logs/clover.xml
after_script:
- vendor/bin/test-reporter
notifications:
email: false
matrix:
fast_finish: true