From 32867a4a2ce80e1ffbfe5b1f8fe8c3d8b7278f42 Mon Sep 17 00:00:00 2001
From: Christian Kuhn <lolli@schwarzbu.ch>
Date: Tue, 15 Dec 2020 19:33:50 +0100
Subject: [PATCH] [TASK] Drop .travis.yml

Travis CI for core has been flaky for a while - processes
tend to die or are queued forever. The only thing travis
still executed for us is updating sonar cloud data.
This service has been introduced some years ago but did
never find significant usage and has never been configured.

The patch drops travis along with sonar-cloud. If anyone
wants to pick up work with sonar again, it could be added
as github action again.

Change-Id: I2929bfb1f72d1a6af273692b4f632d90280bf074
Resolves: #93084
Releases: master, 10.4, 9.5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67144
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
---
 .editorconfig                   |  3 +--
 .gitattributes                  |  1 -
 .travis.yml                     | 39 ---------------------------------
 Build/.sonar-project.properties |  3 ---
 4 files changed, 1 insertion(+), 45 deletions(-)
 delete mode 100644 .travis.yml
 delete mode 100644 Build/.sonar-project.properties

diff --git a/.editorconfig b/.editorconfig
index d37a2c50bed6..70e4feccb409 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -30,8 +30,7 @@ max_line_length = 80
 indent_size = 2
 
 # package.json
-# .travis.yml
-[{package.json,.travis.yml}]
+[package.json]
 indent_size = 2
 
 # TypoScript
diff --git a/.gitattributes b/.gitattributes
index 5c78c40fb167..31a0c994dec2 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -2,7 +2,6 @@
 /.editorconfig export-ignore
 /.gitattributes export-ignore
 /.gitreview export-ignore
-/.travis.yml export-ignore
 /Build/ export-ignore
 /dynamicReturnTypeMeta.json export-ignore
 /phpstan.neon export-ignore
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index b108c87acc85..000000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-language: php
-
-matrix:
-  fast_finish: true
-
-  include:
-    - php: 7
-
-sudo: required
-
-addons:
-  apt:
-    packages:
-      - language-pack-de
-  sonarcloud:
-    organization: "typo3"
-
-jdk:
-  - oraclejdk8
-
-cache:
-  directories:
-    - $HOME/.sonar/cache
-
-notifications:
-  slack:
-    rooms:
-      secure: nHWVTPyG3CQWIcYA1LASS11dD0/NBcmrAyr3xxQW0XYtH47ZUKRlEtxrVLuL7ptciNwMbfZgsiRQ1QGWDerHUlBkg0iwRxpUZgeylzWaiXsHFVAp2IBfEX54KrWeYm9gewIBDDtnp+sLgpXGgmpIs2bAGkZe5129UsUExoWh0+g=
-    on_success: change
-    on_failure: always
-  webhooks:
-    urls:
-      - http://www.t3bot.de/hooks/travis/index.php
-    on_success: always
-    on_failure: always
-    on_start: never
-
-script:
-  - sonar-scanner -Dproject.settings=Build/.sonar-project.properties
diff --git a/Build/.sonar-project.properties b/Build/.sonar-project.properties
deleted file mode 100644
index ddd8e0d40816..000000000000
--- a/Build/.sonar-project.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-sonar.projectKey=typo3
-sonar.sources=typo3
-sonar.exclusions=**/Tests/**, **/Contrib/**
\ No newline at end of file
-- 
GitLab