From 2298050d3f18594b7a021eb8fd1e15288c366865 Mon Sep 17 00:00:00 2001 From: Robin Deits Date: Sat, 8 Sep 2018 17:04:09 -0400 Subject: [PATCH] try to render the build log --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index c9d6749..919f5dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,5 +36,12 @@ notifications: email: false branches: only: master +before_script: + # Every 30 seconds, look for the build log file. If it exists, then + # start watching its contents and printing them to stdout as they + # change. This has two effects: + # 1. it avoids Travis timing out because the build outputs nothing + # 2. it makes it more obvious what part of the build, if any, gets stuck + - while sleep 30; do tail ~/build/JuliaPackaging/CMake.jl/deps/build.log -f ; done & after_success: - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'