2019-04-15 20:42:02 -04:00
|
|
|
language: "go"
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
|
|
|
|
2020-06-12 05:36:54 -04:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2019-04-15 20:42:02 -04:00
|
|
|
|
2020-06-12 05:36:54 -04:00
|
|
|
go:
|
|
|
|
- "1.13"
|
2019-04-15 20:42:02 -04:00
|
|
|
|
|
|
|
script:
|
|
|
|
- touch .env
|
2020-06-12 05:36:54 -04:00
|
|
|
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.21.0
|
|
|
|
- go mod download
|
|
|
|
- go mod vendor
|
|
|
|
- make test ARGS='-race -count=2 -coverprofile=coverage.txt -covermode=atomic ./...'
|
2019-04-15 20:42:02 -04:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|