mirror of
https://github.com/octoleo/restic.git
synced 2025-01-23 07:08:28 +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 get github.com/mitchellh/gox
|
||||||
- go version | grep -q "go1\.3" && export GOX_ARCH="386 amd64" || true
|
- go version | grep -q "go1\.3" && export GOX_ARCH="386 amd64" || true
|
||||||
- go version | grep -q "darwin" && export GOX_OS="darwin" || 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\""
|
- echo "cross-compile for \"$GOX_OS\" on \"$GOX_ARCH\""
|
||||||
- gox -build-toolchain -os "$GOX_OS" -arch "$GOX_ARCH"
|
- gox -build-toolchain -os "$GOX_OS" -arch "$GOX_ARCH"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user