mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-17 23:28:15 +01:00
Try setting up coveralls
This commit is contained in:
parent
65af37f7b0
commit
7faa1dcab9
10
.travis.yml
10
.travis.yml
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user