You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by po...@apache.org on 2019/04/29 20:15:20 UTC

[incubator-tamaya-extensions] branch master updated: TAMAYA-277: Add badge and SonarCloud integration

This is an automated email from the ASF dual-hosted git repository.

pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tamaya-extensions.git


The following commit(s) were added to refs/heads/master by this push:
     new cab194d  TAMAYA-277: Add badge and SonarCloud integration
cab194d is described below

commit cab194d8eb45121aff29a895347dffbb9d003b19
Author: Hugo Hirsch <gi...@hugo-hirsch.de>
AuthorDate: Mon Apr 29 22:15:01 2019 +0200

    TAMAYA-277: Add badge and SonarCloud integration
---
 .travis.yml | 29 ++++++++++++++++++++++++-----
 README.md   |  6 ++++++
 2 files changed, 30 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a545c25..ffab55e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,25 @@
 language: java
-jdk:
-  - openjdk8
-  - openjdk9
-  - openjdk10
-  - openjdk11
+dist: trusty
+sudo: required
+
+addons:
+  sonarcloud:
+    organization: "apache"
+
+jobs:
+    include:
+        - name: "Java 8"
+          jdk: openjdk8
+          script: mvn clean install sonar:sonar -Dsonar.organization=apache -Dsonar.projectKey=apache_incubator-tamaya-extensions
+
+        - name: "Java 9"
+          jdk: openjdk9
+          script: mvn clean install
+
+        - name: "Java 10"
+          jdk: openjdk10
+          script: mvn clean install
+
+        - name: "Java 11"
+          jdk: openjdk11
+          script: mvn clean install
diff --git a/README.md b/README.md
index 164384d..76c55c0 100644
--- a/README.md
+++ b/README.md
@@ -39,3 +39,9 @@ Apart from integration into ASF CI there's a travis build:
 
 [![Build Status](https://travis-ci.org/apache/incubator-tamaya-extensions.svg?branch=master)](https://travis-ci.org/apache/incubator-tamaya-extensions/branches)
 
+Sonarcloud integration:
+
+[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=apache_incubator-tamaya-extensions&metric=alert_status)](https://sonarcloud.io/dashboard?id=apache_incubator-tamaya-extensions)
+
+HINT! Sonarcloud analysis only works on master branch.
+