Add support for SonarCloud analysis

This commit is contained in:
Jonathan White 2018-06-18 23:34:30 -04:00
parent 5df8ddfc3f
commit 9805f2331d
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
3 changed files with 24 additions and 1 deletions

18
sonar-project.properties Normal file
View file

@ -0,0 +1,18 @@
# https://about.sonarcloud.io/get-started/
# Run the SonarCloud tools with the follow parameters:
# Run in the cmake build directory after cmake: build-wrapper-[platform]-x86-64 --out-dir bw-output make clean all
# Run in the project root directory: sonar-scanner.bat -Dsonar.cfamily.build-wrapper-output=build/bw-output -Dsonar.cfamily.gcov.reportsPath=build -Dsonar.login=[AUTH_TOKEN]
# required metadata
sonar.projectKey=keepassxc
sonar.organization=droidmonkey-github
sonar.projectName=keepassxc
sonar.host.url=https://sonarcloud.io
# path to source directories (required)
sonar.sources=src
sonar.tests=tests
sonar.cfamily.threads=2
sonar.exclusions=**/zxcvbn/*