Skip to content

Commit

Permalink
Merge pull request #28 from apupier/25-ActivateSonarAnalysis
Browse files Browse the repository at this point in the history
#25 - Activate Sonar analysis
  • Loading branch information
lhein committed Apr 25, 2018
2 parents 7993f32 + e749772 commit 768f714
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ cache:
directories:
- $HOME/.m2
- $HOME/.gradle/
after_success:
- if [[ $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then
mvn sonar:sonar -Dsonar.login=${SONAR_TOKEN} -Dsonar.projectKey="camel-lsp-client-eclipse" -Dsonar.projectName="Eclipse Client for Apache Camel Language Server";
fi
addons:
sonarcloud:
organization: "camel-tooling"
branches:
- master
deploy:
- provider: releases
api_key: ${DEPLOY_TOKEN}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.9</version>
<version>0.8.1</version>
<configuration>
<append>true</append>
<includes>com.github.cameltooling.lsp.*,com.github.cameltooling.*</includes>
Expand Down

0 comments on commit 768f714

Please sign in to comment.