k3s/vendor/github.com/containerd/go-cni/.travis.yml

25 lines
637 B
YAML
Raw Normal View History

2019-01-12 04:58:27 +00:00
language: go
go:
2020-08-10 17:43:49 +00:00
- 1.13.x
- 1.14.x
2019-01-12 04:58:27 +00:00
- tip
go_import_path: github.com/containerd/go-cni
install:
- go get -d
2020-08-10 17:43:49 +00:00
- env GO111MODULE=off go get -u github.com/vbatts/git-validation
- env GO111MODULE=off go get -u github.com/kunalkushwaha/ltag
2019-09-27 21:51:53 +00:00
before_script:
- pushd ..; git clone https://github.com/containerd/project; popd
2019-01-12 04:58:27 +00:00
script:
2019-09-27 21:51:53 +00:00
- DCO_VERBOSITY=-q ../project/script/validate/dco
- ../project/script/validate/fileheader ../project/
2020-08-10 17:43:49 +00:00
- env GO111MODULE=on ../project/script/validate/vendor
2019-01-12 04:58:27 +00:00
- go test -race -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)