mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 14:56:29 +00:00
Travis: Fix installing osxfuse on darwin
This commit is contained in:
parent
c3fe396bdd
commit
a8e04d1826
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user