travis and codecov

This commit is contained in:
Michał Michaluk
2018-03-03 22:36:29 +01:00
parent 7c08a39162
commit b039bb90b8
6 changed files with 77 additions and 3 deletions

6
.codecov.yml Normal file
View File

@@ -0,0 +1,6 @@
coverage:
precision: 2
round: down
range: 70...100
status: off

7
.travis.yml Normal file
View File

@@ -0,0 +1,7 @@
language: java
jdk:
- oraclejdk8
after_success:
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"

View File

@@ -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

View File

@@ -64,6 +64,25 @@
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.9</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
</project>

View File

@@ -59,7 +59,26 @@
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.9</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
</project>

View File

@@ -64,7 +64,26 @@
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.9</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
</project>