From 5f3a96204a4888367af45828bfe05cc05dd6ef95 Mon Sep 17 00:00:00 2001 From: Daniel Neus Date: Thu, 4 Aug 2016 19:25:28 +0200 Subject: 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 --- sonar-project.properties | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sonar-project.properties (limited to 'sonar-project.properties') 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 -- cgit v1.2.3