# The build-wrapper output dir
sonar.cfamily.build-wrapper-output=bw-outputs
+# Where the coverage files are located
+# See https://docs.sonarqube.org/pages/viewpage.action?pageId=5312222
+sonar.cfamily.gcov.reportsPath=Testing/CoverageInfo
+
# Encoding of the source files
sonar.sourceEncoding=UTF-8
# Run ctest before sonar to gather coverage some information
ctest --output-on-failure --timeout 100
+# generate the gcov files
+ctest -D ExperimentalCoverage
+
# and finally execute the actual SonarQube analysis
# (the SONAR_TOKEN is set from the travis web interface, to not expose it with an ongoing "set -x")
# See https://docs.travis-ci.com/user/sonarqube/ for more info on tokens