add build

This commit is contained in:
davidnewhall2 2019-12-29 01:03:04 -08:00
parent 14edaa087a
commit 79f8c853db
1 changed files with 11 additions and 0 deletions

View File

@ -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 ./...