Skip to content

Commit d3a1890

Browse files
casperboonefreekmurze
authored andcommitted
Add code coverage (#6)
1 parent 4a83df8 commit d3a1890

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 `laravel-notification-channels/pushbullet` will be documented in this file
3+
All notable changes to `laravel-notification-channels/pushbullet` 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/65558300/shield)](https://styleci.io/repos/65558300)
77
[![SensioLabsInsight](https://img.shields.io/sensiolabs/i/2283805a-e7cc-4e83-8cda-b91b8336cb57.svg?style=flat-square)](https://insight.sensiolabs.com/projects/2283805a-e7cc-4e83-8cda-b91b8336cb57)
88
[![Quality Score](https://img.shields.io/scrutinizer/g/laravel-notification-channels/pushbullet.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/pushbullet)
9+
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/pushbullet/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/pushbullet/?branch=master)
910
[![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/pushbullet.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/pushbullet)
1011

1112
This package makes it easy to send notifications using [Pushbullet](http://pushbullet.com) with Laravel 5.3.
@@ -125,7 +126,7 @@ public function toPushbullet($notifiable)
125126
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
126127

127128
## Testing
128-
129+
129130
``` bash
130131
$ composer test
131132
```

0 commit comments

Comments
 (0)