From cfe8eccfd1dc6628a4ba5345b466687d6901fa13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Camprub=C3=AD?= Date: Fri, 19 Jan 2018 09:46:01 +0000 Subject: [PATCH 1/3] Add coveralls badget --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 71789c42a..ec4938c0c 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ Core features [![Latest Stable Version](https://img.shields.io/packagist/v/smartbox/core-bundle.svg?style=flat-square)](https://packagist.org/packages/smartbox/core-bundle) [![Minimum PHP Version](https://img.shields.io/badge/php-~%207.0-8892BF.svg?style=flat-square)](https://php.net/) [![Build Status](https://travis-ci.org/smartboxgroup/core-bundle.svg?branch=master)](https://travis-ci.org/smartboxgroup/core-bundle) +[![Coverage Status](https://coveralls.io/repos/github/smartboxgroup/core-bundle/badge.svg?branch=master)](https://coveralls.io/github/smartboxgroup/core-bundle?branch=master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/smartboxgroup/core-bundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/smartboxgroup/core-bundle/?branch=master) ## Installation and usage From 7b52615edfae386363d4b4c8b3413a6a59935f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Camprub=C3=AD?= Date: Fri, 19 Jan 2018 10:33:37 +0000 Subject: [PATCH 2/3] Add script to call coveralls in travis-ci --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index be9c05197..e2a566eef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,9 @@ before_script: script: - bin/phpunit --coverage-text --debug +after_success: + - coveralls + notifications: email: recipients: From be674902d0e4b97b956eda968a8ced4bcecaa463 Mon Sep 17 00:00:00 2001 From: David Camprubi Date: Fri, 19 Jan 2018 11:13:10 +0000 Subject: [PATCH 3/3] Add repo token for coveralls --- .coveralls.yml | 1 + .travis.yml | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 .coveralls.yml diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 000000000..79fba643a --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1 @@ +repo_token: es4BURa8RnPTX4zatVHDqf5JgMRJ1p6Cd \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index e2a566eef..be9c05197 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,9 +19,6 @@ before_script: script: - bin/phpunit --coverage-text --debug -after_success: - - coveralls - notifications: email: recipients: