File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,14 @@ before_script:
11
11
- composer install --no-interaction
12
12
13
13
script :
14
- - vendor/bin/phpunit
14
+ - vendor/bin/phpunit --coverage-clover=coverage.clover
15
15
- vendor/bin/phpcs --standard=PSR2 ./src/
16
16
17
+ after_script :
18
+ - wget https://scrutinizer-ci.com/ocular.phar
19
+ - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
20
+
17
21
# Use Travis' new container-based infrastructure.
18
22
# 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 1
1
# PHP Enum implementation inspired from SplEnum
2
2
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 )
4
4
5
5
## Why?
6
6
You can’t perform that action at this time.
0 commit comments