From b8d78ac779f0777bd4ffa584ec617d7af710e21c Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Thu, 7 Dec 2017 15:41:12 +0000
Subject: [PATCH] Combine Travis CI Gradle tasks into a single step

---
 .travis.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 8c616f59ac..ee0af68add 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)
-- 
GitLab