mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Things are usually already fixed in master branch but not worth backporting. Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
53 lines
842 B
YAML
53 lines
842 B
YAML
dist: trusty
|
|
language: go
|
|
go_import_path: github.com/coreos/etcd
|
|
sudo: false
|
|
|
|
go:
|
|
- 1.7.5
|
|
|
|
notifications:
|
|
on_success: never
|
|
on_failure: never
|
|
|
|
env:
|
|
matrix:
|
|
- TARGET=amd64
|
|
- TARGET=arm64
|
|
- TARGET=arm
|
|
- TARGET=386
|
|
- TARGET=ppc64le
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
allow_failures:
|
|
- go: tip
|
|
exclude:
|
|
- go: tip
|
|
env: TARGET=arm
|
|
- go: tip
|
|
env: TARGET=arm64
|
|
- go: tip
|
|
env: TARGET=386
|
|
- go: tip
|
|
env: TARGET=ppc64le
|
|
|
|
# disable godep restore override
|
|
install:
|
|
- pushd cmd/etcd && go get -t -v ./... && popd
|
|
|
|
script:
|
|
- >
|
|
case "${TARGET}" in
|
|
amd64)
|
|
GOARCH=amd64 ./test
|
|
;;
|
|
386)
|
|
GOARCH=386 PASSES="build unit" ./test
|
|
;;
|
|
*)
|
|
# test building out of gopath
|
|
GO_BUILD_FLAGS="-a -v" GOPATH="" GOARCH="${TARGET}" ./build
|
|
;;
|
|
esac
|