Skip to content
Permalink
Browse files

Added code coverage report.

  • Loading branch information...
franz-see committed Jul 23, 2019
1 parent e6054d0 commit e8e61924769fc5e772632d4f4c4e6e4b453fce8d
Showing with 31 additions and 1 deletion.
  1. +3 −0 .travis.yml
  2. +2 −1 README.md
  3. +26 −0 pom.xml
@@ -7,6 +7,9 @@ jdk:
script:
- sh mvnw clean install

after_success:
- bash <(curl -s https://codecov.io/bash)

cache:
directories:
- "$HOME/.m2"
@@ -1,5 +1,6 @@
[![Build Status](https://travis-ci.org/franz-see/swagger-codegen-micronaut-generator.svg?branch=master)](https://travis-ci.org/franz-see/swagger-codegen-micronaut-generator)
[ ![Download](https://api.bintray.com/packages/franz-see/maven-repo/swagger-codegen-micronaut-generator/images/download.svg) ](https://bintray.com/franz-see/maven-repo/swagger-codegen-micronaut-generator/_latestVersion)
[![codecov](https://codecov.io/gh/franz-see/swagger-codegen-micronaut-generator/branch/master/graph/badge.svg)](https://codecov.io/gh/franz-see/swagger-codegen-micronaut-generator)
[![Download](https://api.bintray.com/packages/franz-see/maven-repo/swagger-codegen-micronaut-generator/images/download.svg) ](https://bintray.com/franz-see/maven-repo/swagger-codegen-micronaut-generator/_latestVersion)
# swagger-codegen-micronaut-generator
Template to Generate Micronaut-based server side java application from a swagger/openapi specification
26 pom.xml
@@ -116,8 +116,34 @@
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.4</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<!-- attached to Maven test phase -->
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>

0 comments on commit e8e6192

Please sign in to comment.
You can’t perform that action at this time.