Skip to content

Commit a7f99ec

Browse files
casperboonefreekmurze
authored andcommitted
Add code coverage (#11)
1 parent 2ccb4e6 commit a7f99ec

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.scrutinizer.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ checks:
1717
fix_identation_4spaces: true
1818
fix_doc_comments: true
1919

20+
tools:
21+
external_code_coverage: true

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ language: php
33
php:
44
- 5.6
55
- 7.0
6+
- 7.1
67

78
env:
89
matrix:
@@ -17,4 +18,5 @@ script:
1718
- phpunit --coverage-text --coverage-clover=coverage.clover
1819

1920
after_script:
20-
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
21+
- wget https://scrutinizer-ci.com/ocular.phar
22+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
All Notable changes to `pusher-push-notifications` will be documented in this file
3+
All notable changes to `pusher-push-notifications` will be documented in this file
44

55
## 1.0.0 - 2016-XX-XX
66

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[![StyleCI](https://styleci.io/repos/65379321/shield)](https://styleci.io/repos/65379321)
77
[![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)
88
[![Quality Score](https://img.shields.io/scrutinizer/g/laravel-notification-channels/pusher-push-notifications.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/pusher-push-notifications)
9+
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/pusher-push-notifications/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/pusher-push-notifications/?branch=master)
910
[![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/pusher-push-notifications.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/pusher-push-notifications)
1011

1112
This package makes it easy to send [Pusher push notifications](https://pusher.com/docs/push_notifications) with Laravel 5.3.
@@ -127,7 +128,7 @@ By default the pusher "interest" messages will be sent to will be defined using
127128
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
128129

129130
## Testing
130-
131+
131132
``` bash
132133
$ composer test
133134
```

0 commit comments

Comments
 (0)