Macosx: brew update takes too much time

Seems that invoking brew update on travis’s docker images for macos takes around 2 minutes on each invoke which is annoying to say the least…

How should this be resolved?

Seems that brew update is invoking cleanup procedure which is taking this much time… Should i just use HOMEBREW_NO_INSTALL_CLEANUP assuming that said cleanup is performed by travis?

Imprint