From 98ee740c7ab2a49e25eb1eb2f7049d2ceea80d00 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Wed, 12 Mar 2014 03:14:59 -0400 Subject: [PATCH] Update travis.yml to output the test log if it exists. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index eb86404..07afc04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,4 +9,6 @@ before_script: - cd build - cmake .. -DCMAKE_BUILD_TYPE=Release -script: make && make test \ No newline at end of file +script: make && make test + +after_failure: if [ -d Testing ]; then cat Testing/Temporary/LastTest.log; fi \ No newline at end of file