add build
This commit is contained in:
parent
14edaa087a
commit
79f8c853db
|
|
@ -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 gochecknoinits -D funlen
|
||||
- go test ./...
|
||||
Loading…
Reference in New Issue