From: Martin Quinson Date: Mon, 22 May 2017 12:36:22 +0000 (+0200) Subject: we want to execute ctest on PR on travis X-Git-Tag: v3.16~275 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bca3ef58b3169f9ad4d3e90d9d21696f823182e7 we want to execute ctest on PR on travis --- diff --git a/tools/internal/travis-sonarqube.sh b/tools/internal/travis-sonarqube.sh index d76f57fc44..370f6b5863 100755 --- a/tools/internal/travis-sonarqube.sh +++ b/tools/internal/travis-sonarqube.sh @@ -7,7 +7,8 @@ # On Mac OSX or with pull requests, you don't want to run SonarQube but to exec the build command directly. if [ ${TRAVIS_OS_NAME} != 'linux' ] || [ ${TRAVIS_PULL_REQUEST} != 'false' ] then - exec "$@" + sh "$@" && ctest --output-on-failure + exit $? fi # Passed this point, we are on Linux and not in a PR (exec never returns)