add build
This commit is contained in:
parent
1d438bf536
commit
e03fef39ce
|
|
@ -0,0 +1,11 @@
|
||||||
|
language: go
|
||||||
|
go:
|
||||||
|
- 1.13.x
|
||||||
|
before_install:
|
||||||
|
# download super-linter: golangci-lint
|
||||||
|
- curl -sL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin latest
|
||||||
|
install:
|
||||||
|
- go mod download
|
||||||
|
script:
|
||||||
|
- golangci-lint run --enable-all -D gochecknoglobals
|
||||||
|
- go test ./...
|
||||||
Loading…
Reference in New Issue