Files
plugins/.travis.yml

50 lines
829 B
YAML
Raw Normal View History

language: go
sudo: required
dist: trusty
go:
- 1.10.x
2018-10-31 08:53:28 -07:00
- 1.11.x
env:
global:
- PATH=$GOROOT/bin:$GOPATH/bin:$PATH
2019-04-10 10:41:13 -04:00
- CGO_ENABLED=0
matrix:
- TARGET=amd64
- TARGET=arm
- TARGET=arm64
- TARGET=ppc64le
- TARGET=s390x
matrix:
fast_finish: true
2018-12-07 16:39:45 -05:00
include:
- os: windows
env: TARGET=amd64
go: 1.10.x
- os: windows
env: TARGET=amd64
go: 1.11.x
install:
- go get github.com/onsi/ginkgo/ginkgo
- go get github.com/containernetworking/cni/cnitool
2019-04-03 13:03:17 -05:00
- go get golang.org/x/tools/cmd/cover
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
script:
- |
if [ "${TARGET}" == "amd64" ]; then
2018-12-07 16:39:45 -05:00
GOARCH="${TARGET}" ./test_${TRAVIS_OS_NAME}.sh
else
GOARCH="${TARGET}" ./build_linux.sh
fi
notifications:
email: false
git:
depth: 9999999