aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTino Breddin <[email protected]>2019-03-27 09:54:19 +0100
committerLuis Rascao <[email protected]>2019-03-31 22:53:16 +0100
commit70a916886156f2f4fe8ee8812fb00a2c648d0ba6 (patch)
treee3b060bc26dd73a302fbf936ed847eb91cc30878
parentedad2b498ad12ee2860a09f80e7862efadf0eff2 (diff)
downloadrelx-70a916886156f2f4fe8ee8812fb00a2c648d0ba6.tar.gz
relx-70a916886156f2f4fe8ee8812fb00a2c648d0ba6.tar.bz2
relx-70a916886156f2f4fe8ee8812fb00a2c648d0ba6.zip
Add helpful debug output of Travis failures
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
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