Add badge and config codecov

This commit is contained in:
Phan An 2018-11-11 12:20:09 +01:00
parent 66caf9786a
commit f26a7f9d94
3 changed files with 5 additions and 8 deletions

View file

@ -27,7 +27,7 @@ install:
- composer install --prefer-dist --no-interaction
script:
- composer test
- composer coverage
addons:
code_climate:

View file

@ -1,4 +1,4 @@
# koel [![Build Status](https://travis-ci.org/phanan/koel.svg?branch=master)](https://travis-ci.org/phanan/koel) ![Code Quality](https://scrutinizer-ci.com/g/phanan/koel/badges/quality-score.png?b=master) [![OpenCollective](https://opencollective.com/koel/backers/badge.svg)](#backers) [![OpenCollective](https://opencollective.com/koel/sponsors/badge.svg)](#sponsors)
# koel [![Build Status](https://travis-ci.org/phanan/koel.svg?branch=master)](https://travis-ci.org/phanan/koel) ![Code Quality](https://scrutinizer-ci.com/g/phanan/koel/badges/quality-score.png?b=master) [![codecov](https://codecov.io/gh/phanan/koel/branch/master/graph/badge.svg)](https://codecov.io/gh/phanan/koel) [![OpenCollective](https://opencollective.com/koel/backers/badge.svg)](#backers) [![OpenCollective](https://opencollective.com/koel/sponsors/badge.svg)](#sponsors)
![Showcase](http://koel.phanan.net/dist/img/showcase.png?2)

View file

@ -73,12 +73,9 @@
"post-create-project-cmd": [
"@php artisan key:generate"
],
"test": [
"phpunit --colors=always --coverage-clover=coverage.xml"
],
"analyze": [
"phpstan analyse app --level=5"
]
"test": "phpunit --colors=always",
"coverage": "phpunit --colors=always --coverage-clover=coverage.xml",
"analyze": "phpstan analyse app --level=5"
},
"config": {
"preferred-install": "dist",