Issue #61: More robust homebrew installation.

This commit is contained in:
Jeff Geerling 2018-04-23 09:22:33 -05:00
parent 3b802aa4cd
commit 24abee90f9

View file

@ -5,8 +5,11 @@ language: objective-c
osx_image: xcode9.3
before_install:
# Uninstall existing brew installation.
- yes '' | 'ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"'
# Uninstall existing Homebrew installation.
- curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall
- chmod +x uninstall
- yes '' | ./uninstall
- rm -f uninstall
- rm -rf /usr/local/Homebrew
- rm -rf /usr/local/Caskroom
- rm -rf /usr/local/bin/brew