pull out some of the task behavior
Fix for this which was caused by our testbeds

https://groups.google.com/forum/#!msg/travis-ci/XID21_FwgX8/DhW1xU7XlCEJ