From d80325170e92273bad6a0b32b7249a81445b4672 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Wed, 9 Oct 2013 19:30:35 +0200 Subject: [PATCH] Travis: Avoid running testsuite when build didn't succeed. --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3a28485d..1791fef7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,8 +23,9 @@ matrix: script: - cmake $OPTS . - make - - bin/ldc2 -version # For environment info. - - ctest --output-on-failure -R $TESTSUITE_FILTER + # Outputs some environment info, plus makes sure we only run the test suite + # if we could actually build the executable. + - bin/ldc2 -version && ctest --output-on-failure -R $TESTSUITE_FILTER notifications: # Temporarily disabled due to time limit problems.