1
0
mirror of https://github.com/restic/restic.git synced 2024-06-25 07:47:44 +02:00

Disable gox cross compile on darwin

This commit is contained in:
Alexander Neumann 2015-07-09 20:50:52 +02:00
parent 6e3486fee8
commit fd0c3d969d

View File

@ -28,6 +28,7 @@ install:
- go get github.com/mattn/goveralls - go get github.com/mattn/goveralls
- 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
- 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"