Travis builds hang at the end

Hey! I have an intermittent issue where my Travis jobs hang and time out.

One example is where the job hangs, but I cannot rule out that the currently executing process from the job script is to blame.

A better example of that is where the job is successful goes all the way to Done. Your build exited with 0., but then it hangs and times out.

How should I start debugging this? Is it possible for Travis’s shell to at least print what process occupied the shell, or to send a SIGINT to the busy process in question, wait another few seconds to let it produce some debug output, and only then terminate the job?

@native-api Thanks for the reply! This should help me debug.