diff --git a/.travis.yml b/.travis.yml index 8d81d7aa..807c8109 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ install: - composer install --prefer-dist --no-interaction script: - - composer test + - composer coverage addons: code_climate: diff --git a/README.md b/README.md index c3fe6752..4f4440d0 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/composer.json b/composer.json index cb10304c..befb57bb 100644 --- a/composer.json +++ b/composer.json @@ -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",