diff --git a/.travis.yml b/.travis.yml
index da9b155..8b0156f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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)
diff --git a/pom.xml b/pom.xml
index e35d2d0..e323281 100644
--- a/pom.xml
+++ b/pom.xml
@@ -220,6 +220,13 @@
failsafeArgLine
+
+ report
+ test
+
+ report
+
+