From 9202cc53576529e549e0a5dc4c2618bd738d46f7 Mon Sep 17 00:00:00 2001 From: guwirth Date: Sun, 15 Oct 2017 14:03:22 +0200 Subject: [PATCH] SonarCloud analysis of Master branch with Travis --- README.md | 3 ++- appveyor.yml | 6 +++--- pom.xml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a2bd7f06eb..86a0bffa0d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -| Issue Stats | [![Issue Stats](http://issuestats.com/github/SonarOpenCommunity/sonar-cxx/badge/pr)](http://issuestats.com/github/SonarOpenCommunity/sonar-cxx) | [![Issue Stats](http://issuestats.com/github/SonarOpenCommunity/sonar-cxx/badge/issue)](http://issuestats.com/github/SonarOpenCommunity/sonar-cxx) | +| **Issue Stats** | [![Issue Stats](http://issuestats.com/github/SonarOpenCommunity/sonar-cxx/badge/pr)](http://issuestats.com/github/SonarOpenCommunity/sonar-cxx) | [![Issue Stats](http://issuestats.com/github/SonarOpenCommunity/sonar-cxx/badge/issue)](http://issuestats.com/github/SonarOpenCommunity/sonar-cxx) | +| **SonarCloud** (Technical Debt) | [SonarCloud](https://sonarcloud.io/organizations/sonaropencommunity/projects) | | | --- | --- | --- | | **Travis CI** (Linux Build and Integration Tests) | [![Build Status](https://travis-ci.org/SonarOpenCommunity/sonar-cxx.svg?branch=master)](https://travis-ci.org/SonarOpenCommunity/sonar-cxx) | | | **AppVeyor CI** (Windows Build and Deployment) | [![Build status](https://ci.appveyor.com/api/projects/status/f6p12h9n59w01770/branch/master?svg=true)](https://ci.appveyor.com/project/SonarOpenCommunity/sonar-cxx/branch/master) | [Download](https://ci.appveyor.com/project/SonarOpenCommunity/sonar-cxx/branch/master/artifacts) | diff --git a/appveyor.yml b/appveyor.yml index 3f5dd92b71..79b6fc8f25 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,7 @@ version: '{build}' environment: - token: - secure: P6Cj7IcyyNJPTG/5q2W1U4qXhRUQX8BazLcSh9Le8+Czfgmo/F/1VqY1HaMHZddu + sonarcloudtoken: + secure: bgbOr1N/vifD4OUSNVw5iiKl5D0a//xmIBVfEo+zqpDmSTCDWtmFV7Zsa2E5yMJ3 githubtoken: secure: f72Bkv7Kb0xkwE+CXE9BH9aV8iRIilNM2XANDOffRPazDf0luuu4w2wSQNt+RRZl install: @@ -67,7 +67,7 @@ build_script: - C:\Python27\Scripts\pip.exe install behave - C:\Python27\Scripts\pip.exe install colorama - mvn clean install - # - IF "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" (sonar-scanner -X -Dsonar.host.url=https://sonarqube.com -Dsonar.language=java -Dsonar.projectKey=sonar-cxx -Dsonar.projectName=sonar-cxx -Dsonar.login=%token% -Dsonar.sources=.) ELSE (ECHO SKIP ANALYSIS) + - IF "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" (mvn sonar:sonar -Dsonar.organization=sonaropencommunity -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=%sonarcloudtoken%) ELSE (ECHO SKIP ANALYSIS) - C:\Python27\Scripts\behave.exe --no-capture --tags=SqApi56 cache: - C:\Users\appveyor\.m2 diff --git a/pom.xml b/pom.xml index b296d59b74..13619f094e 100644 --- a/pom.xml +++ b/pom.xml @@ -344,7 +344,7 @@ org.sonarsource.scanner.maven sonar-maven-plugin - 3.2 + 3.3.0.603