File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,14 @@ before_script:
1111 - composer install --no-interaction
1212
1313script :
14- - vendor/bin/phpunit
14+ - vendor/bin/phpunit --coverage-clover=coverage.clover
1515 - vendor/bin/phpcs --standard=PSR2 ./src/
1616
17+ after_script :
18+ - wget https://scrutinizer-ci.com/ocular.phar
19+ - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
20+
1721# Use Travis' new container-based infrastructure.
1822# See http://docs.travis-ci.com/user/migrating-from-legacy/#How-can-I-use-container-based-infrastructure%3F
19- sudo : false
23+ sudo : false
24+
Original file line number Diff line number Diff line change 11# PHP Enum implementation inspired from SplEnum
22
3- [ ![ Build Status] ( https://travis-ci.org/myclabs/php-enum.png?branch=master )] ( https://travis-ci.org/myclabs/php-enum ) [ ![ Latest Stable Version] ( https://poser.pugx.org/myclabs/php-enum/version.png )] ( https://packagist.org/packages/myclabs/php-enum ) [ ![ Total Downloads] ( https://poser.pugx.org/myclabs/php-enum/downloads.png )] ( https://packagist.org/packages/myclabs/php-enum )
3+ [ ![ Build Status] ( https://travis-ci.org/myclabs/php-enum.png?branch=master )] ( https://travis-ci.org/myclabs/php-enum ) [ ![ Latest Stable Version] ( https://poser.pugx.org/myclabs/php-enum/version.png )] ( https://packagist.org/packages/myclabs/php-enum ) [ ![ Total Downloads] ( https://poser.pugx.org/myclabs/php-enum/downloads.png )] ( https://packagist.org/packages/myclabs/php-enum ) [ ![ Code Coverage ] ( https://scrutinizer-ci.com/g/myclabs/php-enum/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/myclabs/php-enum/?branch=master )
44
55## Why?
66
You can’t perform that action at this time.
0 commit comments