Skip to content

Commit 39d6b5c

Browse files
committed
Update travis - add codecov
1 parent 99c1639 commit 39d6b5c

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ script:
88
- ./gradlew build check
99
after_script:
1010
- "./scripts/s3upload.sh"
11+
after_success:
12+
- bash <(curl -s https://codecov.io/bash)
1113
env:
1214
global:
1315
- S3_POLICY: ewogICJleHBpcmF0aW9uIjogIjIxMDAtMDEtMDFUMTI6MDA6MDAuMDAwWiIsCiAgImNvbmRpdGlvbnMiOiBbCiAgICB7ImFjbCI6ICJwdWJsaWMtcmVhZCIgfSwKICAgIHsiYnVja2V0IjogInNlbmRncmlkLW9wZW4tc291cmNlIiB9LAogICAgWyJzdGFydHMtd2l0aCIsICIka2V5IiwgInNlbmRncmlkLWphdmEvIl0sCiAgICBbImNvbnRlbnQtbGVuZ3RoLXJhbmdlIiwgMjA0OCwgMjY4NDM1NDU2XSwKICAgIFsiZXEiLCAiJENvbnRlbnQtVHlwZSIsICJhcHBsaWNhdGlvbi96aXAiXQogIF0KfQo=

pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,27 @@
5454
<version>4.5.2</version>
5555
</dependency>
5656
</dependencies>
57+
<build>
58+
<plugins>
59+
<plugin>
60+
<groupId>org.jacoco</groupId>
61+
<artifactId>jacoco-maven-plugin</artifactId>
62+
<version>0.7.7.201606060606</version>
63+
<executions>
64+
<execution>
65+
<goals>
66+
<goal>prepare-agent</goal>
67+
</goals>
68+
</execution>
69+
<execution>
70+
<id>report</id>
71+
<phase>test</phase>
72+
<goals>
73+
<goal>report</goal>
74+
</goals>
75+
</execution>
76+
</executions>
77+
</plugin>
78+
</plugins>
79+
</build>
5780
</project>

0 commit comments

Comments
 (0)