Skip to content

Commit

Permalink
Enable Sonarcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
felipernb committed Feb 21, 2018
1 parent 26cbaaa commit 44fcc41
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
language: node_js
sudo: false
node_js:
- '6'
- '7'
- '8'
script: "make"
- '9'
script:
- make
- sonar-scanner
after_success: "make coveralls"
addons:
sonarcloud:
organization: "felipernb-github"
12 changes: 12 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# must be unique in a given SonarQube instance
sonar.projectKey=algorithmsjs
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=algorithms.js
sonar.projectVersion=0.11.0

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# This property is optional if sonar.modules is set.
sonar.sources=.

# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8

0 comments on commit 44fcc41

Please sign in to comment.