mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-26 22:09:35 +00:00
25 lines
630 B
YAML
25 lines
630 B
YAML
|
dist: bionic
|
||
|
language: go
|
||
|
|
||
|
go:
|
||
|
- "1.13.x"
|
||
|
- "1.15.x"
|
||
|
|
||
|
install:
|
||
|
# Don't change local go.{mod, sum} by go get tools.
|
||
|
#
|
||
|
# ref: https://github.com/golang/go/issues/27643
|
||
|
- pushd ..; go get -u github.com/vbatts/git-validation; popd
|
||
|
- pushd ..; go get -u github.com/kunalkushwaha/ltag; popd
|
||
|
|
||
|
before_script:
|
||
|
- pushd ..; git clone https://github.com/containerd/project; popd
|
||
|
|
||
|
script:
|
||
|
- DCO_VERBOSITY=-q ../project/script/validate/dco
|
||
|
- ../project/script/validate/fileheader ../project/
|
||
|
- go test -v -race -covermode=atomic -coverprofile=coverage.txt ./...
|
||
|
|
||
|
after_success:
|
||
|
- bash <(curl -s https://codecov.io/bash)
|