2019-02-26 20:30:05 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2020-08-06 13:28:41 +00:00
|
|
|
- 1.14.x
|
2019-02-26 20:30:05 +00:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
|
|
|
install:
|
|
|
|
- go get -v golang.org/x/lint/golint
|
|
|
|
- go mod tidy -v
|
|
|
|
script:
|
|
|
|
- golint -set_exit_status ./...
|
2020-04-14 13:05:18 +00:00
|
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./pkg/...,./cli/... ./...
|
2019-02-26 20:30:05 +00:00
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2019-03-30 23:52:28 +00:00
|
|
|
- go: tip
|