From 24abee90f9aaf9c9c77aeaa9185788501d434b8c Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Mon, 23 Apr 2018 09:22:33 -0500 Subject: [PATCH] Issue #61: More robust homebrew installation. --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7610892..b1b3882 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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