Added sonar cloud
This commit is contained in:
11
.travis.yml
11
.travis.yml
@ -5,6 +5,9 @@ dist: trusty
|
||||
script:
|
||||
- dotnet restore
|
||||
- dotnet build
|
||||
script:
|
||||
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash ./travis/run_on_pull_requests; fi'
|
||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./travis/run_on_non_pull_requests; fi'
|
||||
env:
|
||||
global:
|
||||
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
||||
@ -22,4 +25,10 @@ addons:
|
||||
notification_email: guilhermesuicida123654@gmail.com
|
||||
build_command_prepend: "donet restore"
|
||||
build_command: "dotnet build"
|
||||
branch_pattern: coverity_scan
|
||||
branch_pattern: coverity_scan
|
||||
sonarcloud:
|
||||
organization: "xx-thedoctor-xx"
|
||||
token: "$TRAVIS_SONARCLOUD_TOKEN"
|
||||
|
||||
script:
|
||||
- sonar-scanner
|
||||
Reference in New Issue
Block a user