Gabe Rosenhouse 165ca6f719 travis: git clone at great depth
ensures that git commits referenced by backwards compatibility tests are
always available in CI.
2016-10-05 20:48:53 -07:00

57 lines
837 B
YAML

language: go
sudo: required
dist: trusty
go:
- 1.5.4
- 1.6.2
- 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: 1.5.4
env: arm
- go: 1.5.4
env: arm64
- go: 1.5.4
env: ppc64le
- 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;
else
GOARCH="${TARGET}" ./build;
fi
notifications:
email: false
git:
depth: 9999999