CI : coveralls report after tests

This commit is contained in:
Klemek
2019-01-20 17:36:13 +01:00
parent 4cc7f5e435
commit 93fba00354
2 changed files with 5 additions and 17 deletions
+4
View File
@@ -4,3 +4,7 @@ jdk:
- oraclejdk9 - oraclejdk9
- openjdk8 - openjdk8
- openjdk9 - openjdk9
script:
- mvn test jacoco:report
after_success:
- mvn coveralls:report
-16
View File
@@ -172,28 +172,12 @@
<goal>prepare-agent</goal> <goal>prepare-agent</goal>
</goals> </goals>
</execution> </execution>
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.eluder.coveralls</groupId> <groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId> <artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version> <version>4.3.0</version>
<executions>
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>