1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 00:07:25 +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"