On Windows, using bash as language and installing bundler from there given that there is no support for Ruby yet.
The build kept running after it finished with 0 status, and eventually failed because “No output has been received in 10m”.
https://travis-ci.com/DataDog/puppet-datadog-agent/builds/125472919
Accordng to Windows build hangs after Done exit 0, this happens if some background processes are still running.
To compare process lists before and after, e.g. run ps -W | sort
at appropriate moments, then diff
the outputs. To get the command line of the culprit, read /proc/<pid>/cmdline
as per https://superuser.com/questions/1247844/full-command-text-with-ps-on-cygwin.