add build

This commit is contained in:
davidnewhall2 2019-12-29 01:02:54 -08:00
parent 1d438bf536
commit e03fef39ce
1 changed files with 11 additions and 0 deletions

11
core/poller/.travis.yml Normal file
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 gochecknoglobals
- go test ./...