# Install required software
installSonarQubeScanner() {
- local SONAR_SCANNER_VERSION=3.2.0.1227
+ SONAR_SCANNER_VERSION=3.2.0.1227
export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION
rm -rf $SONAR_SCANNER_HOME
mkdir -p $SONAR_SCANNER_HOME
# Run ctest before sonar to gather coverage some information
# EDIT: Don't run the tests on travis because they take too much time.
#set +e
-#ctest -j4 --output-on-failure
+#ctest -j2 --output-on-failure
#outcome=$?
#set -e
outcome=0