15 lines
320 B
YAML
15 lines
320 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.12
|
|
- 1.13
|
|
|
|
script:
|
|
- set -e
|
|
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s latest
|
|
- ./bin/golangci-lint run ./...
|
|
- go test -v -coverprofile cover.out -args -alhoc
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash) -f cover.out
|