Skip to content

Commit

Permalink
Merge pull request #22 from camel-tooling/19-activateSonarAnalysis
Browse files Browse the repository at this point in the history
#19 - Activate Sonar analysis
  • Loading branch information
lhein authored Apr 25, 2018
2 parents 3f2f071 + 7771de2 commit 79307f1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ install:
- 'npm run vscode:prepublish'
- 'npm install -g vsce'
- 'vsce package'
after_success:
- if [[ $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then
sonar-scanner
fi
deploy:
- provider: releases
api_key: ${DEPLOY_TOKEN}
Expand All @@ -30,3 +34,8 @@ cache:
directories:
- "node_modules"
env: DISPLAY=:99
addons:
sonarcloud:
organization: "camel-tooling"
branches:
- master
9 changes: 9 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
sonar.projectKey=camel-lsp-client-vscode
sonar.projectName=VS Code client for Apache Camel Language Server
sonar.sources=src,scripts
sonar.tests=test

sonar.links.homepage=https://github.com/camel-tooling/camel-lsp-client-vscode
sonar.links.ci=https://travis-ci.org/camel-tooling/camel-lsp-client-vscode
sonar.links.scm=https://github.com/camel-tooling/camel-lsp-client-vscode
sonar.links.issue=https://github.com/camel-tooling/camel-lsp-client-vscode/issues

0 comments on commit 79307f1

Please sign in to comment.