From e6d97308bc8e65b3b4671c58f708ff72e5012e01 Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Thu, 7 Dec 2017 15:34:21 +0000
Subject: [PATCH] Only apply sonarcloud addon to the Travis CI job it is used
 in

---
 .travis.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a178006375..8c616f59ac 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,15 @@
 language: java
 
-addons:
-  sonarcloud:
-    organization: "i2p"
-
 jdk:
-  - oraclejdk9
   - oraclejdk8
   - openjdk8
 
 matrix:
   include:
+    - jdk: oraclejdk9
+      addons:
+        sonarcloud:
+          organization: "i2p"
     - jdk: openjdk7
       sudo: required
       before_install: # Work around missing crypto in openjdk7
-- 
GitLab