mirror of
https://github.com/restic/restic.git
synced 2024-12-26 01:37:12 +00:00
Merge pull request #234 from restic/osxfuse
osxfuse for travis on darwin
This commit is contained in:
commit
b6b1f41f2e
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ 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
|
||||
- echo "cross-compile for \"$GOX_OS\" on \"$GOX_ARCH\""
|
||||
- gox -build-toolchain -os "$GOX_OS" -arch "$GOX_ARCH"
|
||||
|
||||
|
|
Loading…
Reference in a new issue