Try setting up coveralls

This commit is contained in:
Nikita Popov 2016-02-20 17:16:46 +01:00
parent 65af37f7b0
commit 7faa1dcab9

View File

@ -10,11 +10,17 @@ php:
- nightly - nightly
- hhvm - hhvm
install: composer install --prefer-source install:
if [ $TRAVIS_PHP_VERSION = '5.6' ]; composer require satooshi/php-coveralls '~1.0'; fi
composer install --prefer-source
matrix: matrix:
allow_failures: allow_failures:
- php: nightly - php: nightly
fast_finish: true fast_finish: true
script: vendor/bin/phpunit script:
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; else vendor/bin/phpunit; fi
after_success:
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then php vendor/bin/coveralls; fi