diff --git a/.travis.yml b/.travis.yml
index 8c616f59acfbb833d45dfcc1056b3114b1a811d7..ee0af68add0d51bff287840b57d7faae2a78022b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,11 +30,10 @@ cache:
 script:
   - |
     if [ "$TRAVIS_JDK_VERSION" == "oraclejdk9" ]; then
-      ./gradlew sonarqube
+      ./gradlew sonarqube codeCoverageReport
     else
-      ./gradlew check
+      ./gradlew check codeCoverageReport
     fi
-  - ./gradlew codeCoverageReport
 
 after_success:
   - bash <(curl -s https://codecov.io/bash)