From b039bb90b815708b511ee7adaea0f9334894ad01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Michaluk?= Date: Sat, 3 Mar 2018 22:36:29 +0100 Subject: [PATCH] travis and codecov --- .codecov.yml | 6 ++++++ .travis.yml | 7 +++++++ README.md | 4 ++++ demand-forecasting-model/pom.xml | 21 ++++++++++++++++++++- shared-kernel-model/pom.xml | 21 ++++++++++++++++++++- shortages-prediction-model/pom.xml | 21 ++++++++++++++++++++- 6 files changed, 77 insertions(+), 3 deletions(-) create mode 100644 .codecov.yml create mode 100644 .travis.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..ee54d1e --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,6 @@ +coverage: + precision: 2 + round: down + range: 70...100 + + status: off diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8b54da6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: java + +jdk: + - oraclejdk8 + +after_success: + - bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" diff --git a/README.md b/README.md index 369dec8..8771d5b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # The missing, complete example of Domain-Driven Design enterprise application +[![Licence MIT](http://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT) +[![Build Status](https://travis-ci.org/michal-michaluk/factory.svg?branch=master)](https://travis-ci.org/michal-michaluk/factory) +[![Code Coverage](https://codecov.io/gh/michal-michaluk/factory/branch/master/graph/badge.svg)](https://codecov.io/gh/michal-michaluk/factory) + ## Command Query CRUD Responsibility Segregation Not every piece of software is equally important... Not every piece will decide about company / product success or can cause not reversible diff --git a/demand-forecasting-model/pom.xml b/demand-forecasting-model/pom.xml index 004ada5..36560d2 100644 --- a/demand-forecasting-model/pom.xml +++ b/demand-forecasting-model/pom.xml @@ -64,6 +64,25 @@ + + org.jacoco + jacoco-maven-plugin + 0.7.9 + + + + prepare-agent + + + + report + test + + report + + + + - \ No newline at end of file + diff --git a/shared-kernel-model/pom.xml b/shared-kernel-model/pom.xml index 171358c..34c39a6 100644 --- a/shared-kernel-model/pom.xml +++ b/shared-kernel-model/pom.xml @@ -59,7 +59,26 @@ + + org.jacoco + jacoco-maven-plugin + 0.7.9 + + + + prepare-agent + + + + report + test + + report + + + + - \ No newline at end of file + diff --git a/shortages-prediction-model/pom.xml b/shortages-prediction-model/pom.xml index ec62b7f..4597d84 100644 --- a/shortages-prediction-model/pom.xml +++ b/shortages-prediction-model/pom.xml @@ -64,7 +64,26 @@ + + org.jacoco + jacoco-maven-plugin + 0.7.9 + + + + prepare-agent + + + + report + test + + report + + + + - \ No newline at end of file +