2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-11 15:51:02 +00:00

travis: Don't compile for ARM with Go1.3

This commit is contained in:
Alexander Neumann 2015-06-28 22:16:41 +02:00
parent d9a90f7b89
commit 939fae940d

View File

@ -8,7 +8,7 @@ os:
- linux
- osx
env: GOX_OS="linux darwin openbsd freebsd"
env: GOX_OS="linux darwin openbsd freebsd" GOX_ARCH="386 amd64 arm"
notifications:
irc:
@ -26,11 +26,13 @@ install:
- go env
- go get github.com/mattn/goveralls
- go get github.com/mitchellh/gox
- gox -build-toolchain -os "$GOX_OS"
- go version | grep -q "go1\.3" && export GOX_ARCH="386 amd64" || true
- echo "cross-compile for \"$GOX_OS\" on \"$GOX_ARCH\""
- gox -build-toolchain -os "$GOX_OS" -arch "$GOX_ARCH"
script:
- gox -verbose -os "${GOX_OS}" -tags "release" ./cmd/restic
- gox -verbose -os "${GOX_OS}" -tags "debug" ./cmd/restic
- gox -verbose -os "$GOX_OS" -arch "$GOX_ARCH" -tags "release" ./cmd/restic
- gox -verbose -os "$GOX_OS" -arch "$GOX_ARCH" -tags "debug" ./cmd/restic
- go run build.go
- go run run_tests.go all.cov
- GOARCH=386 RESTIC_TEST_INTEGRATION=0 go test ./...