forked from TrueCloudLab/neoneo-go
9630f63224
We want to count test for coverage irregardless of where it is located. Previously error "no non-test Go files" was preventing us from doing so. This commit fixes it.
16 lines
346 B
YAML
16 lines
346 B
YAML
language: go
|
|
go:
|
|
- 1.12.x
|
|
env:
|
|
- GO111MODULE=on
|
|
install:
|
|
- go get -v golang.org/x/lint/golint
|
|
- go mod tidy -v
|
|
script:
|
|
- golint -set_exit_status ./...
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=all ./...
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|