Skip to content

Commit 94ce1c1

Browse files
committed
Add code coverage
1 parent 0c32a6f commit 94ce1c1

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 `twilio` will be documented in this file
3+
All notable changes to `twilio` will be documented in this file
44

55
## 1.0.0 - 201X-XX-XX
66

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![Build Status](https://img.shields.io/travis/laravel-notification-channels/twilio/master.svg?style=flat-square)](https://travis-ci.org/laravel-notification-channels/twilio)
66
[![StyleCI](https://styleci.io/repos/65543339/shield)](https://styleci.io/repos/65543339)
77
[![Quality Score](https://img.shields.io/scrutinizer/g/laravel-notification-channels/twilio.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/twilio)
8+
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/twilio/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/twilio/?branch=master)
89
[![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/twilio.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/twilio)
910

1011
This package makes it easy to send [Twilio notifications](https://documentation.twilio.com/docs) with Laravel 5.3.
@@ -127,7 +128,7 @@ public function routeNotificationForTwilio()
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)