ci: disable Homebrew's auto cleanup

Lately Homebrew learned to automagically clean up information about outdated packages during other 'brew' commands, which might be useful for the avarage user, but is a waste of time in CI build jobs, because the next build jobs will start from the exact same image containing the same outdated packages anyway. Export HOMEBREW_NO_INSTALL_CLEANUP=1 to disable this auto cleanup feature, shaving off about 20-30s from the time needed to install dependencies in our macOS build jobs on Travis CI. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

SZEDER Gábor committed Jul 3, 2019 at 12:47 UTC af8ed04778781f2013d26cc450173190fb5876d6
1 file changed +1 -1
ci/install-dependencies.sh
+1 -1
@@ -34,7 +34,7 @@ linux-clang|linux-gcc)
34 popd
35 ;;
36 osx-clang|osx-gcc)
37 - export HOMEBREW_NO_AUTO_UPDATE=1
37 + export HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1
38 # Uncomment this if you want to run perf tests:
39 # brew install gnu-time
40 test -z "$BREW_INSTALL_PACKAGES" ||