From 677296a44cc5e6b0b11b3bff5b37d42a484c237a Mon Sep 17 00:00:00 2001 From: Ivaylo Hristov Date: Tue, 20 Jun 2017 10:26:22 +0200 Subject: [PATCH] added sonarqube to travis --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index c0f28cfa4..84f4ec761 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,11 @@ language: java jdk: oraclejdk8 + +addons: + sonarqube: + organization: "ihristovut-github" # the key of the org you chose at step #3 + token: + secure: fbc9e4a5677933a0f017872ab5d09baf6e3d48fd # encrypted value of your token +script: + # the following command line builds the project, runs the tests with coverage and then execute the SonarQube analysis + - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar