Travis: Avoid running testsuite when build didn't succeed.

This commit is contained in:
David Nadlinger
2013-10-09 19:30:35 +02:00
parent e440bb04ed
commit d80325170e

View File

@@ -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.