mirror of
https://github.com/octoleo/restic.git
synced 2024-11-11 15:51:02 +00:00
osxfuse for travis on darwin
This commit is contained in:
parent
528dba2255
commit
a8401973a8
@ -29,6 +29,7 @@ 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
|
||||
- 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