Skip to content

Commit b0800a4

Browse files
committed
Configure Scrutinizer
1 parent e69ee56 commit b0800a4

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.scrutinizer.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
tools:
2+
external_code_coverage: true

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ php:
88
before_script:
99
- composer install --dev
1010

11-
scripts: phpunit --coverage-text
11+
scripts: phpunit --coverage-clover=coverage.clover
12+
13+
after_script:
14+
- wget https://scrutinizer-ci.com/ocular.phar
15+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Provides an easy way to get some entity/model behavior with static data
44

5-
[![Build Status](https://travis-ci.org/ByScripts/ByscriptsStaticEntity.svg?branch=master)](https://travis-ci.org/ByScripts/ByscriptsStaticEntity) [![Latest Stable Version](https://poser.pugx.org/byscripts/static-entity/v/stable.png)](https://packagist.org/packages/byscripts/static-entity) [![License](https://poser.pugx.org/byscripts/static-entity/license.png)](https://packagist.org/packages/byscripts/static-entity)
5+
[![Build Status](https://travis-ci.org/ByScripts/ByscriptsStaticEntity.svg?branch=master)](https://travis-ci.org/ByScripts/ByscriptsStaticEntity) [![Latest Stable Version](https://poser.pugx.org/byscripts/static-entity/v/stable.png)](https://packagist.org/packages/byscripts/static-entity) [![License](https://poser.pugx.org/byscripts/static-entity/license.png)](https://packagist.org/packages/byscripts/static-entity) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/ByScripts/ByscriptsStaticEntity/badges/quality-score.png?s=7f14b935e4a281cbaea56eeacdb5dbe8bf37bc75)](https://scrutinizer-ci.com/g/ByScripts/ByscriptsStaticEntity/) [![Code Coverage](https://scrutinizer-ci.com/g/ByScripts/ByscriptsStaticEntity/badges/coverage.png?s=d6250c0ecf468198873e667d009fe35aa80f9558)](https://scrutinizer-ci.com/g/ByScripts/ByscriptsStaticEntity/)
66

77
## Installation
88

0 commit comments

Comments
 (0)