Skip to content

Commit

Permalink
Merge pull request #154 from stone-payments/task/CMPDC-1059
Browse files Browse the repository at this point in the history
chore: add sonar cloud
  • Loading branch information
italomarcel committed Nov 19, 2018
2 parents c93449a + c8d48e1 commit 83f3b99
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ lerna-debug.log
# nightwatch
reports
bin

# sonar cloud
.scannerwork
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
sudo: false
language: node_js
addons:
sonarcloud:
organization: "sling"
token:
secure: ${SONAR_TOKEN}
notifications:
email: false
node_js:
Expand All @@ -11,6 +16,7 @@ script:
- npm run build-prod
after_success:
- npm run send-coverage
- sonar-scanner
- npm run semantic-release
git:
depth: 1
10 changes: 10 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
sonar.projectKey=sling-framework
sonar.organization=sling
sonar.sources=./packages
sonar.host.url=https://sonarcloud.io
sonar.cfamily.build-wrapper-output.bypass=true
sonar.sourceEncoding=UTF-8
sonar.exclusions=./packages/*/public/*
# sonar.tests=./packages/*/src/component/*.test.js
sonar.verbose=true
# sonar.coverageReportPaths=sonarqube-generic-coverage.xml

0 comments on commit 83f3b99

Please sign in to comment.