Skip to content

Commit 98cc9ef

Browse files
author
Simon Hofmann
committed
Travis / Sonar setup
1 parent 60c83d1 commit 98cc9ef

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.travis.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
os: linux
2+
dist: xenial
3+
language: node_js
4+
node_js:
5+
- lts/dubnium
6+
cache: npm
7+
addons:
8+
sonarcloud:
9+
organization: "nut-tree"
10+
token:
11+
secure: "k/5pLnLpd9eF56LB8Qag+BYmcbv7lGW8393LWy2Oyu8ne6CAWz2LybEcSjKDoEPHd1nwYH7XOSfOOJ//+3O3oAKNcDCDXi4wk7QPDrROCZFIysuyx6kmTIavQQ+9atqKAj16GA4Mp2IHfwWAS+U5R6lUZejU6Lzm3BdN8JOzf29YapqdUm6MP79w2mbAaA8hSAglc0pOSuWEcytJJ+0b7JOSMhYhwGJFnh+tuJX4b41B9al1Sdk/OV0oQJERJZ6NCBUE0V2+620rU0QzngJrioWixq+moT7hJmdidz8n0YK9OGdMnJ7LePaQJcBVJQbCWt6bIIpKMBl46rJAVFenE9mO7fi6A0BHQpS5r7UqqV0y8kOl8FxxgvVsrozD2LrEMn/+16FwzjkKAfCx9iH2b6FAEMvn9UAZSyTukhsVFeRZw1vbvfLhiRGM5hUOIcX2GrARPTPparWg59vKmgSNB3NOLxSEKf3ApoNcYfiqwX4QQolULMc/VMxNQL1iBlB+/xodkrRqQIb0B5Bn29MVVYhQOTayjGlFB3iiUGFHFwQORZjs0kzi348T9EIEK82/2IphJiFVAsI6f3i5GrB56fPQC54Ty5YU5vmino7/jkrEDWSFaHWJU7sA49eQXHQA+rqKrC7XneKCXnPXwJWScjxLMB4WP0kGO05D6JFumuQ="
12+
13+
after_success:
14+
- sonar-scanner

sonar-project.properties

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
sonar.projectKey=nut-tree_secrets
2+
sonar.sources=lib/,index.ts
3+
sonar.javascript.lcov.reportPaths=coverage/lcov.info
4+
sonar.typescript.lcov.reportPaths=coverage/lcov.info
5+
sonar.javascript.exclusions=**/node_modules/**,**/*.spec.js
6+
sonar.typescript.exclusions=**/node_modules/**,**/*.spec.ts

0 commit comments

Comments
 (0)