From d41627b3262465bc2a6e258c989de8a3bf1821f3 Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Thu, 17 Dec 2015 08:31:53 +0100 Subject: [PATCH] Activate coveralls.io --- .travis.yml | 3 +++ README.md | 1 + pom.xml | 48 ++++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 50 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 809c84b..34b6f54 100755 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,5 @@ language: java script: mvn clean install + +after_success: + - mvn clean test jacoco:report coveralls:report diff --git a/README.md b/README.md index d00e59d..a36e41b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ Enterprise-ready production-ready batch applications powered by Spring Boot ============================= [![Build Status](https://travis-ci.org/codecentric/spring-boot-starter-batch-web.png?branch=master)](https://travis-ci.org/codecentric/spring-boot-starter-batch-web) +[![Coverage Status](https://coveralls.io/repos/codecentric/spring-boot-starter-batch-web/badge.svg?branch=master&service=github)](https://coveralls.io/github/codecentric/spring-boot-starter-batch-web?branch=master) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/de.codecentric/spring-boot-starter-batch-web/badge.svg)](https://maven-badges.herokuapp.com/maven-central/de.codecentric/spring-boot-starter-batch-web/) [![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html) diff --git a/pom.xml b/pom.xml index 86137e7..84967ec 100644 --- a/pom.xml +++ b/pom.xml @@ -172,9 +172,9 @@ ${asciidoctor.maven.plugin.version} src/docs/asciidoc - + ${project.build.sourceDirectory} - ${project.build.testSourceDirectory} + ${project.build.testSourceDirectory} ${project.version} @@ -226,5 +226,49 @@ + + travis + + + env.TRAVIS + true + + + + + + org.jacoco + jacoco-maven-plugin + 0.7.5.201505241946 + + + + pre-unit-test + + prepare-agent + + + + + + post-unit-test + test + + report + + + + + + org.eluder.coveralls + coveralls-maven-plugin + 4.1.0 + + + +