mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
17 lines
529 B
YAML
17 lines
529 B
YAML
|
language: go
|
||
|
go:
|
||
|
- 1.10.x
|
||
|
- tip
|
||
|
|
||
|
install:
|
||
|
- mkdir -p $GOPATH/src/github.com/prometheus $GOPATH/src/github.com/opencontainers
|
||
|
- cd $GOPATH/src/github.com/opencontainers && git clone https://github.com/opencontainers/runtime-spec && cd runtime-spec && git checkout fa4b36aa9c99e00c2ef7b5c0013c84100ede5f4e
|
||
|
- cd $GOPATH/src/github.com/containerd/cgroups
|
||
|
- go get -t ./...
|
||
|
|
||
|
script:
|
||
|
- go test -race -coverprofile=coverage.txt -covermode=atomic
|
||
|
|
||
|
after_success:
|
||
|
- bash <(curl -s https://codecov.io/bash)
|