2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-23 05:12:10 +00:00

Travis: Fix installing osxfuse on darwin

This commit is contained in:
Alexander Neumann 2015-07-19 21:51:36 +02:00
parent c3fe396bdd
commit a8e04d1826

View File

@ -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"