Skip to content

Commit

Permalink
add test build with coverage report.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarwell committed May 19, 2019
1 parent dcf9b05 commit e269edf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,13 @@ jobs:
name: "Checker framework (Nullness checker)."
script: ./mvnw -B clean install -DskipTests=true -Pchecker

- stage: test
name: "Test build with coverage report"
script: ./mvnw -B clean install -DskipTests=true -Pchecker
after_success: bash <(curl -s https://codecov.io/bash)

cache:
directories:
- "$HOME/.m2/repository"
- "$HOME/.jabba/jdk"

after_success:
- bash <(curl -s https://codecov.io/bash)
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,13 @@
<propertyName>failsafeArgLine</propertyName>
</configuration>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
Expand Down

0 comments on commit e269edf

Please # to comment.