Skip to content

Commit 44fcc41

Browse files
committed
Enable Sonarcloud
1 parent 26cbaaa commit 44fcc41

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.travis.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
language: node_js
22
sudo: false
33
node_js:
4-
- '6'
5-
- '7'
64
- '8'
7-
script: "make"
5+
- '9'
6+
script:
7+
- make
8+
- sonar-scanner
89
after_success: "make coveralls"
10+
addons:
11+
sonarcloud:
12+
organization: "felipernb-github"

sonar-project.properties

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# must be unique in a given SonarQube instance
2+
sonar.projectKey=algorithmsjs
3+
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
4+
sonar.projectName=algorithms.js
5+
sonar.projectVersion=0.11.0
6+
7+
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
8+
# This property is optional if sonar.modules is set.
9+
sonar.sources=.
10+
11+
# Encoding of the source code. Default is default system encoding
12+
#sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)