From 21f13757d85380cfecb3948bbec9c9f46407bce4 Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Wed, 17 Apr 2019 20:51:47 +0800 Subject: [PATCH] Activate coveralls.io and add Coverage badge --- .travis.yml | 8 ++++++-- README.id.md | 1 + README.md | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 092f4ee..91988bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,13 @@ php: before_script: - travis_retry composer self-update - - travis_retry composer install --prefer-source --no-interaction --dev + - travis_retry composer install --prefer-source --no-interaction + - travis_retry composer require php-coveralls/php-coveralls - cp .env.example .env - php artisan key:generate script: - - vendor/bin/phpunit + - vendor/bin/phpunit --coverage-clover build/logs/clover.xml + +after_success: + - vendor/bin/php-coveralls -v --exclude-no-stmt diff --git a/README.id.md b/README.id.md index 496b371..a2a9b8e 100644 --- a/README.id.md +++ b/README.id.md @@ -3,6 +3,7 @@ [![Build Status](https://travis-ci.org/nafiesl/free-pmo.svg?branch=master)](https://travis-ci.org/nafiesl/free-pmo) [![StyleCI](https://styleci.io/repos/111558421/shield?branch=develop)](https://styleci.io/repos/111558421) +[![Coverage Status](https://coveralls.io/repos/github/nafiesl/free-pmo/badge.svg?branch=master)](https://coveralls.io/github/nafiesl/free-pmo?branch=master) Free PMO (Project Management Office), software management project untuk *freelancer* dan agensi, dibangun dengan Framework **Laravel 5**. diff --git a/README.md b/README.md index 088c567..cbdc50e 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Build Status](https://travis-ci.org/nafiesl/free-pmo.svg?branch=master)](https://travis-ci.org/nafiesl/free-pmo) [![StyleCI](https://styleci.io/repos/111558421/shield?branch=develop)](https://styleci.io/repos/111558421) +[![Coverage Status](https://coveralls.io/repos/github/nafiesl/free-pmo/badge.svg?branch=master)](https://coveralls.io/github/nafiesl/free-pmo?branch=master) Free PMO (Project Management Office), management project software for *freelancer* and agency, built with **Laravel 5** Framework.