Skip to content

Commit dea0585

Browse files
committed
add code coverage
1 parent d4aac6e commit dea0585

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ jobs:
3636
key: v1-dependencies-{{ checksum "pom.xml" }}
3737

3838
# run tests!
39-
- run: |
40-
mvn integration-test
39+
- run: mvn cobertura:cobertura
40+
41+
- run: bash <(curl -s https://codecov.io/bash) -t ${CODECOV_TOKEN}
4142

4243
- run: mvn -s .circleci.settings.xml -DskipTests deploy

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,18 @@
8484
</distributionManagement>
8585
<build>
8686
<plugins>
87+
<plugin>
88+
<groupId>org.codehaus.mojo</groupId>
89+
<artifactId>cobertura-maven-plugin</artifactId>
90+
<version>2.7</version>
91+
<configuration>
92+
<formats>
93+
<format>html</format>
94+
<format>xml</format>
95+
</formats>
96+
<check />
97+
</configuration>
98+
</plugin>
8799
<plugin>
88100
<artifactId>maven-compiler-plugin</artifactId>
89101
<version>3.0</version>

0 commit comments

Comments
 (0)