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 8df89ce..e1e7b22 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ [![StyleCI](https://styleci.io/repos/65379321/shield)](https://styleci.io/repos/65379321) [![SensioLabsInsight](https://img.shields.io/sensiolabs/i/9015691f-130d-4fca-8710-72a010abc684.svg?style=flat-square)](https://insight.sensiolabs.com/projects/9015691f-130d-4fca-8710-72a010abc684) [![Quality Score](https://img.shields.io/scrutinizer/g/laravel-notification-channels/onesignal.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/onesignal) +[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/onesignal/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/onesignal/?branch=master) [![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/onesignal.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/onesignal) This package makes it easy to send [OneSignal notifications](https://documentation.onesignal.com/docs) with Laravel 5.3. @@ -141,7 +142,7 @@ OneSignalMessage::create() Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. ## Testing - + ``` bash $ composer test ```