Add debug logging to diagnose Travis errors