Merge pull request #227 from restic/disable-gox-on-darwin

Disable gox cross compile on darwin
This commit is contained in:
Alexander Neumann 2015-07-09 22:41:22 +02:00
commit 807bb58e98
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ install:
- go get github.com/mattn/goveralls
- 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
- echo "cross-compile for \"$GOX_OS\" on \"$GOX_ARCH\""
- gox -build-toolchain -os "$GOX_OS" -arch "$GOX_ARCH"