diff --git a/.scrutinizer.yml b/.scrutinizer.yml index df16b68..6fad5be 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -17,3 +17,5 @@ checks: fix_identation_4spaces: true fix_doc_comments: true +tools: + external_code_coverage: true diff --git a/.travis.yml b/.travis.yml index 62dad73..ff42c2c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ language: php php: - 5.6 - 7.0 + - 7.1 env: matrix: @@ -17,4 +18,5 @@ script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: - - php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover coverage.clover diff --git a/README.md b/README.md index 48d7bb4..9a0c435 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ [![StyleCI](https://styleci.io/repos/65659860/shield)](https://styleci.io/repos/65659860) [![SensioLabsInsight](https://img.shields.io/sensiolabs/i/d6b5e386-7830-4623-afd4-2ee6a6eb65a1.svg?style=flat-square)](https://insight.sensiolabs.com/projects/d6b5e386-7830-4623-afd4-2ee6a6eb65a1) [![Quality Score](https://img.shields.io/scrutinizer/g/laravel-notification-channels/lob.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/lob) +[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/lob/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/lob/?branch=master) [![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/lob.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/lob)