Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
liutaurasvilda committed Oct 9, 2018
1 parent ae139b9 commit 8f1265b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
language: java
addons:
sonarcloud:
organization: liutaurasvilda-github
token:
secure: ec68dd1107797373cff334e8d60c620750719961

This comment has been minimized.

Copy link
@nibsi

nibsi Oct 12, 2018

You will probably want to store your token in Travis instead of in your publicly visible source code. In Travis, you can configure environment variables. Put this token in a variable named SONAR_TOKEN and hide it from the build log. Remove it from this file.

script:
- sonar-scanner

0 comments on commit 8f1265b

Please sign in to comment.