add build

This commit is contained in:
davidnewhall2 2019-12-29 01:02:29 -08:00
parent 6028aff4c2
commit e395bfc424
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 -e G402 -D gochecknoglobals
- go test ./...