blob: 7fb90ab34c5ac91eed21708e89b2559939b99f79 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
language: go
install: true
env:
- GO111MODULE=on
before_script:
- go install github.com/golangci/golangci-lint/cmd/golangci-lint
script:
- golangci-lint run
- go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- go build
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod
after_success:
- bash <(curl -s https://codecov.io/bash)
|