From: Martin Quinson Date: Sat, 20 May 2017 23:28:07 +0000 (+0200) Subject: sonar: try to reduce verbosity of the coverage X-Git-Tag: v3.16~281^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0e871a7d4990b64178018d630fd18d6cf771c64a?hp=1407ee352e6644047a5f99339e9fcd7e31467d9d;ds=sidebyside sonar: try to reduce verbosity of the coverage --- diff --git a/tools/internal/travis-sonarqube.sh b/tools/internal/travis-sonarqube.sh index 96558bbb6e..d76f57fc44 100755 --- a/tools/internal/travis-sonarqube.sh +++ b/tools/internal/travis-sonarqube.sh @@ -55,8 +55,8 @@ ctest -D ExperimentalCoverage # See https://docs.travis-ci.com/user/sonarqube/ for more info on tokens # don't show the token in the logs set +x -sonar-scanner -Dsonar.host.url=https://sonarqube.com -Dsonar.login=$SONAR_TOKEN \ - | grep -v 'INFO: Parsing /home/travis/build/simgrid/simgrid/Testing/CoverageInfo' \ +sonar-scanner -Dsonar.host.url=https://sonarqube.com -Dsonar.login=$SONAR_TOKEN 2>&1 \ + | grep -v 'INFO: Parsing /home/travis/build/simgrid/simgrid/Testing/CoverageInfo' \ | grep -v 'WARN: File not analysed by Sonar, so ignoring coverage: /usr/include/' exit $outcome \ No newline at end of file