forked from TrueCloudLab/restic
travis: Don't compile for ARM with Go1.3
This commit is contained in:
parent
d9a90f7b89
commit
939fae940d
1 changed files with 6 additions and 4 deletions
10
.travis.yml
10
.travis.yml
|
@ -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 ./...
|
||||
|
|
Loading…
Reference in a new issue