From 7cd4eab732d2425a1970e41d4f19c759b3987f50 Mon Sep 17 00:00:00 2001 From: Ignishky Date: Thu, 8 Jun 2017 12:12:28 +0200 Subject: [PATCH] [Readme] Add build, coverage and version badges in readme. --- .travis.yml | 3 ++- README.md | 5 +++++ pom.xml | 16 ++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ccb8fd9..0b617d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: java jdk: - oraclejdk8 - +after_success: + - mvn clean cobertura:cobertura coveralls:report \ No newline at end of file diff --git a/README.md b/README.md index 274095a..f197167 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +[![Build Status](https://travis-ci.org/Mappy/fpm.svg?branch=master)](https://travis-ci.org/Mappy/fpm) +[![Coverage Status](https://coveralls.io/repos/github/Mappy/fpm/badge.svg?branch=master)](https://coveralls.io/github/Mappy/fpm?branch=master) + +[![GitHub release](https://img.shields.io/github/release/mappy/fpm.svg)]() + # How to install ## Compile source code diff --git a/pom.xml b/pom.xml index 9fa27cc..dbb42b8 100644 --- a/pom.xml +++ b/pom.xml @@ -230,6 +230,22 @@ + + org.eluder.coveralls + coveralls-maven-plugin + 4.3.0 + + + org.codehaus.mojo + cobertura-maven-plugin + 2.7 + + xml + 256m + + true + +