From bca3ef58b3169f9ad4d3e90d9d21696f823182e7 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 22 May 2017 14:36:22 +0200 Subject: [PATCH] we want to execute ctest on PR on travis --- tools/internal/travis-sonarqube.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.20.1