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:
parent
d9a90f7b89
commit
939fae940d
10
.travis.yml
10
.travis.yml
@ -8,7 +8,7 @@ os:
|
|||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
|
|
||||||
env: GOX_OS="linux darwin openbsd freebsd"
|
env: GOX_OS="linux darwin openbsd freebsd" GOX_ARCH="386 amd64 arm"
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
@ -26,11 +26,13 @@ install:
|
|||||||
- go env
|
- go env
|
||||||
- go get github.com/mattn/goveralls
|
- go get github.com/mattn/goveralls
|
||||||
- go get github.com/mitchellh/gox
|
- 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:
|
script:
|
||||||
- gox -verbose -os "${GOX_OS}" -tags "release" ./cmd/restic
|
- gox -verbose -os "$GOX_OS" -arch "$GOX_ARCH" -tags "release" ./cmd/restic
|
||||||
- gox -verbose -os "${GOX_OS}" -tags "debug" ./cmd/restic
|
- gox -verbose -os "$GOX_OS" -arch "$GOX_ARCH" -tags "debug" ./cmd/restic
|
||||||
- go run build.go
|
- go run build.go
|
||||||
- go run run_tests.go all.cov
|
- go run run_tests.go all.cov
|
||||||
- GOARCH=386 RESTIC_TEST_INTEGRATION=0 go test ./...
|
- GOARCH=386 RESTIC_TEST_INTEGRATION=0 go test ./...
|
||||||
|
Loading…
Reference in New Issue
Block a user