aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-project.properties
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2016-08-04 19:25:28 +0200
committerDaniel Neus <[email protected]>2016-08-18 13:21:37 +0200
commit5f3a96204a4888367af45828bfe05cc05dd6ef95 (patch)
treec3bd9d507fc8910bd723df4b03b63f94d6f4b142 /sonar-project.properties
parentfedaf80bad502a2f0c85b7acd0e2ead37c6c8ced (diff)
SonarQube integration / Travis CI changes
Travis CI changes: - Run SonarQube analysis for commits on master and in pull requests - Upgrade Travis CI build image to Ubuntu 14.04 and use standard system toolchain - Update lcov to 1.12 for coverage - Set git clone depth to 5 commits - Use 'builtin' ccache Travis CI addon - Add SonarQube badge to readme - No longer necessary to overwrite CXX variable in build.sh when using gcc
Diffstat (limited to 'sonar-project.properties')
-rw-r--r--sonar-project.properties21
1 files changed, 21 insertions, 0 deletions
diff --git a/sonar-project.properties b/sonar-project.properties
new file mode 100644
index 000000000..408210b81
--- /dev/null
+++ b/sonar-project.properties
@@ -0,0 +1,21 @@
+# must be unique in a given SonarQube instance
+sonar.projectKey=botan
+
+# this is the name displayed in the SonarQube UI
+sonar.projectName=Botan
+sonar.projectVersion=1.0
+# 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=src
+
+# Language, needed for SonarQube < 4.2
+sonar.language=cpp
+
+# 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