From 70a916886156f2f4fe8ee8812fb00a2c648d0ba6 Mon Sep 17 00:00:00 2001 From: Tino Breddin Date: Wed, 27 Mar 2019 09:54:19 +0100 Subject: Add helpful debug output of Travis failures --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index ed0f025..0004695 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,9 @@ before_script: - wget https://s3.amazonaws.com/rebar3/rebar3 - chmod +x rebar3 script: "./rebar3 update && ./rebar3 ct" +after_failure: + ## Useful for troubleshooting to view test logs + - find _build/test/logs/ct_run*/lib*logs/run*/log_private/*-output*/*/log -type f -name "erlang*" -exec ls -1rt "{}" \+ | xargs -I % sh -c 'echo "\n\n%"; cat %' branches: only: - master -- cgit v1.2.3