From 28f31ae4ec182fb0fd813a3c5311e673a3979ef8 Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Thu, 7 Dec 2017 21:29:22 +0000
Subject: [PATCH] Fix .travis.yml syntax

---
 .travis.yml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 4a78ee6e47..c95d22ba65 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,11 +20,7 @@ matrix:
 before_install:
  - |
     if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then
-      echo "plugins {
-    id 'org.sonarqube' version '2.6.1'
-}
-" | cat - build.gradle > build.gradle.temp
-      mv build.gradle.temp build.gradle
+      sed -i "1iplugins {\n    id 'org.sonarqube' version '2.6.1'\n}\n" build.gradle
     fi
 
 before_cache:
-- 
GitLab