mirror of
https://github.com/Prominence/openweathermap-java-api.git
synced 2026-01-08 11:16:47 +03:00
Replaced cobertura with jacoco plugin.
This commit is contained in:
parent
a9fd20b494
commit
1101ec03db
@ -5,7 +5,7 @@ jdk:
|
||||
- openjdk11
|
||||
|
||||
install: mvn install -DskipTests -Dgpg.skip -B
|
||||
script: mvn cobertura:cobertura -Dmaven.skip.deploy=true -B
|
||||
script: mvn test -Dmaven.skip.deploy=true -B
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
28
pom.xml
28
pom.xml
@ -132,17 +132,23 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>cobertura-maven-plugin</artifactId>
|
||||
<version>2.7</version>
|
||||
<configuration>
|
||||
<quiet>true</quiet>
|
||||
<formats>
|
||||
<format>html</format>
|
||||
<format>xml</format>
|
||||
</formats>
|
||||
<check />
|
||||
</configuration>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>0.8.4</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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user