Stick with just brew cleanup.
This commit is contained in:
parent
7853e00234
commit
15ae6b131f
|
@ -81,8 +81,8 @@ macos_task_template: &MACOS_TASK_TEMPLATE
|
|||
- brew cleanup
|
||||
# Credit https://discourse.brew.sh/t/best-practice-for-homebrew-on-travis-brew-update-is-5min-to-build-time/5215/9
|
||||
# Cache only .git files under "/usr/local/Homebrew" so "brew update" does not take 5min every build
|
||||
- find /usr/local/Homebrew \! -regex ".+\.git.+" -delete
|
||||
- find $HOME/Library/Caches/Homebrew \! -regex ".+\.git.+" -delete
|
||||
#- find /usr/local/Homebrew \! -regex ".+\.git.+" -delete
|
||||
#- find $HOME/Library/Caches/Homebrew \! -regex ".+\.git.+" -delete
|
||||
env:
|
||||
COMPILER: clang
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user