Skip to content

Commit

Permalink
ensure travis CI error on test fail
Browse files Browse the repository at this point in the history
- fixes #192
- closes #194
  • Loading branch information
casperdcl committed Jan 23, 2019
1 parent 69d81be commit 4475f2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,12 @@ script:
./INSTALL/bin/gadgetron >& gadgetron.log&
# print for debugging
cat builds/SIRF/build/CMakeCache.txt
ctest -VV || travis_terminate 1
ctest -VV; test_fail=$?
# print for debugging
cat builds/SIRF/build/Testing/Temporary/LastTest.log
# may exceed 4MB travis log limit
cat gadgetron.log
[[ $test_fail -ne 0 ]] || travis_terminate $test_fail
fi
# post to slack.com
Expand Down

0 comments on commit 4475f2b

Please sign in to comment.