From a8e04d18269565ed179ebd2461a3a1ab4f9ad24c Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 19 Jul 2015 21:51:36 +0200 Subject: [PATCH] Travis: Fix installing osxfuse on darwin --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9ebeadf99..c675033a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,9 +29,8 @@ install: - go get github.com/mitchellh/gox - go version | grep -q "go1\.3" && export GOX_ARCH="386 amd64" || true - go version | grep -q "darwin" && export GOX_OS="darwin" || true - - uname -s | grep -qi darwin && brew install osxfuse || true - - uname -s | grep -qi darwin && sudo /bin/cp -RfX /usr/local/opt/osxfuse/Library/Filesystems/osxfusefs.fs /Library/Filesystems/ || true - - uname -s | grep -qi darwin && sudo chmod +s /Library/Filesystems/osxfusefs.fs/Support/load_osxfusefs || true + - uname -s | grep -qi darwin && brew install caskroom/cask/brew-cask || true + - uname -s | grep -qi darwin && brew cask install osxfuse || true - echo "cross-compile for \"$GOX_OS\" on \"$GOX_ARCH\"" - gox -build-toolchain -os "$GOX_OS" -arch "$GOX_ARCH"