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())'