
It's difficult to include this repository using bazel, because the file named "build" conflicts with new_go_repository generation on case-insensitive filesystems (ref https://github.com/bazelbuild/rules_go/issues/234). This change renames the file to something that doesn't conflict, and also renames the test script for consistency.
51 lines
744 B
YAML
51 lines
744 B
YAML
language: go
|
|
sudo: required
|
|
dist: trusty
|
|
|
|
go:
|
|
- 1.6.x
|
|
- 1.7.x
|
|
- tip
|
|
|
|
env:
|
|
global:
|
|
- TOOLS_CMD=golang.org/x/tools/cmd
|
|
- PATH=$GOROOT/bin:$PATH
|
|
- GO15VENDOREXPERIMENT=1
|
|
matrix:
|
|
- TARGET=amd64
|
|
- TARGET=arm
|
|
- TARGET=arm64
|
|
- TARGET=ppc64le
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
allow_failures:
|
|
- go: tip
|
|
exclude:
|
|
- go: tip
|
|
env: arm
|
|
- go: tip
|
|
env: arm64
|
|
- go: tip
|
|
env: ppc64le
|
|
|
|
install:
|
|
- go get ${TOOLS_CMD}/cover
|
|
- go get github.com/modocache/gover
|
|
- go get github.com/mattn/goveralls
|
|
|
|
script:
|
|
- >
|
|
if [ "${TARGET}" == "amd64" ]; then
|
|
GOARCH="${TARGET}" ./test.sh;
|
|
else
|
|
GOARCH="${TARGET}" ./build.sh;
|
|
fi
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
git:
|
|
depth: 9999999
|