Repository: thrift Updated Branches: refs/heads/master 783660a33 -> 7ed94ef8e
THRIFT-3110 Print error log after cross test failures on Travis This closes #458 commit 7dfc994028df512d791f79c090d3d6cc1108a815 Author: Nobuaki Sukegawa <[email protected]> Date: 2015-04-23T16:38:55Z Project: http://git-wip-us.apache.org/repos/asf/thrift/repo Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/7ed94ef8 Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/7ed94ef8 Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/7ed94ef8 Branch: refs/heads/master Commit: 7ed94ef8e82e3aabec05d638c3fc2736f081b0f8 Parents: 783660a Author: Roger Meier <[email protected]> Authored: Sun Apr 26 16:55:35 2015 +0200 Committer: Roger Meier <[email protected]> Committed: Sun Apr 26 16:55:35 2015 +0200 ---------------------------------------------------------------------- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/thrift/blob/7ed94ef8/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index e5b8e02..b49c0a3 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)"
