aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-01 06:42:24 -0400
committerJack Lloyd <[email protected]>2017-10-01 06:42:24 -0400
commite58f66ae5f07f31419a819ded874fcf39aa1fdc6 (patch)
tree189aaff97430a22ac6609d11b87d9d7c2d5f15bb /src/build-data
parent97193ee43de6843d5e8a6eac67f54a8c315f52bb (diff)
Get coverage reports in Sonar
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/sonar-project.properties21
1 files changed, 6 insertions, 15 deletions
diff --git a/src/build-data/sonar-project.properties b/src/build-data/sonar-project.properties
index 6c3be3c4a..574c19051 100644
--- a/src/build-data/sonar-project.properties
+++ b/src/build-data/sonar-project.properties
@@ -1,25 +1,16 @@
-# must be unique in a given SonarQube instance
+sonar.host.url=https://sonarcloud.io
+
+sonar.organization=randombit-github
sonar.projectKey=botan
-# this is the name displayed in the SonarQube UI
sonar.projectName=Botan
-
-# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
-# Since SonarQube 4.2, this property is optional if sonar.modules is set.
-# If not set, SonarQube starts looking for source code from the directory containing
-# the sonar-project.properties file.
-sonar.sources=..
-
-# Language, needed for SonarQube < 4.2
+sonar.sources=src
sonar.language=cpp
-
sonar.cpp.file.suffixes=.cpp,.h
-
-# The build-wrapper output dir
sonar.cfamily.build-wrapper-output=bw-outputs
-
-# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8
# Sonar thinks these are duplicates
sonar.exclusions=build/include/botan/*.h,build/include/botan/internal/*.h,build/include/external/*.h
+
+sonar.cfamily.llvm-cov.reportPath=build/cov_report.txt