summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorRoger Meier <roger@apache.org>2015-04-26 16:55:35 +0200
committerRoger Meier <roger@apache.org>2015-04-26 16:55:35 +0200
commit7ed94ef8e82e3aabec05d638c3fc2736f081b0f8 (patch)
tree88932a7c60b73c32de699521c8f4c8903f73b1ee /.travis.yml
parent783660a335aad8818a9ede210e594b7f8677aa56 (diff)
downloadthrift-7ed94ef8e82e3aabec05d638c3fc2736f081b0f8.tar.gz
THRIFT-3110 Print error log after cross test failures on Travis
This closes #458 commit 7dfc994028df512d791f79c090d3d6cc1108a815 Author: Nobuaki Sukegawa <nsukeg@gmail.com> Date: 2015-04-23T16:38:55Z
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index e5b8e02df..b49c0a3ee 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -44,6 +44,9 @@ script:
- if [ "x$CONFIG" != "xnone" ] ; then sh configure $CONFIG ; fi
- if [ "x$CONFIG" != "xnone" ] ; then make $MAKE_TARGET -j2 ; fi
+after_failure:
+ - if [ "x$ERROR_LOG" != "xnone" ] ; then cat $ERROR_LOG ; fi
+
env:
global:
- TEST_NAME=""
@@ -60,6 +63,7 @@ env:
CONFIG="--enable-tutorial=no --without-erlang --without-lua --without-haxe --without-d"
ALL_DEPS="yes"
MAKE_TARGET="cross"
+ ERROR_LOG="test/log/unexpected_failures.log"
# CMake builds
- TEST_NAME="compiler (CMake + CPack)"