1language: php 2 3php: 4 - 5.4 5 - 5.5 6 - 5.6 7 - 7.0 8 - 7.1 9 - nightly # ignore errors, see below 10 - hhvm # ignore errors, see below 11 12# lock distro so new future defaults will not break the build 13dist: trusty 14 15matrix: 16 allow_failures: 17 - php: hhvm 18 - php: nightly 19 20install: 21 - composer install 22 23script: 24 - ./vendor/bin/phpunit -v --coverage-text --coverage-clover=./build/logs/clover.xml 25 26after_script: 27 - if [ -f ./build/logs/clover.xml ]; then travis_retry composer require satooshi/php-coveralls --no-interaction --update-with-dependencies; fi 28 - if [ -f ./build/logs/clover.xml ]; then php vendor/bin/coveralls -v; fi 29