diff options
author | Jack Lloyd <[email protected]> | 2017-09-30 14:27:18 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-30 14:27:18 -0400 |
commit | 4cef9e75ce353d9254a50b0165bd0d3f98a8d949 (patch) | |
tree | 4bb5c92674158eceb76498ddd75bac33a0c449c1 | |
parent | 58d287a284451d4462a09cc05b222475cbe68c53 (diff) |
Switch Sonar analysis to a private organization
I think this allows us to use custom quality profiles (ie, disable
or edit rulesets).
-rw-r--r-- | src/build-data/sonar-project.properties | 2 | ||||
-rw-r--r-- | src/scripts/ci/travis.yml | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/build-data/sonar-project.properties b/src/build-data/sonar-project.properties index f4fe066ea..6c3be3c4a 100644 --- a/src/build-data/sonar-project.properties +++ b/src/build-data/sonar-project.properties @@ -1,4 +1,4 @@ -# must be unique in a given SonarQube instance +# must be unique in a given SonarQube instance sonar.projectKey=botan # this is the name displayed in the SonarQube UI diff --git a/src/scripts/ci/travis.yml b/src/scripts/ci/travis.yml index c5d08c1f4..836fa8d60 100644 --- a/src/scripts/ci/travis.yml +++ b/src/scripts/ci/travis.yml @@ -17,8 +17,6 @@ env: - CCACHE_MAXSIZE=250M - CCACHE_MAXFILES=2000 - CCACHE_COMPRESS=1 - # SONAR_TOKEN for accessing the Sonar server - - secure: "VezRbHFg6kllV5WG06M3tG3aHJaC3xrMylJ6RCVbL+uz2JeralVCqV7eIk4fVb9cu83Li+weEa0AJj0wkxpIUJ+vUh5F65L6gSWSbgHP7muOSVsmnEc6KvX4n3av/ZGe4geSmsxqh2pd/2xI1h7KioGRhKeqaZIdjVgWgGJW2iQ=" matrix: - BUILD_MODE="shared" @@ -109,7 +107,10 @@ cache: - $HOME/.sonar/cache addons: - sonarcloud: true + sonarcloud: + organization: "randombit-github" + token: + secure: "MTveedl4eey6M4i12SdpXrCJs0eBerN+v+BzkUjCDiVSdHH+/m2wO4EJE/PoJAJyTPeZkxSLag4vCSebr0R1+ojBXUGW0Q1lnZ5xqrf3Vpb7Gvyavqc2kq4tFqVaU0nCF+sTm6dZMTTD7raxOSlP7fefp8yDVz7ddE1G9ZiT8rA=" coverity_scan: project: |