language: go
go:
- 1.x
os:
- linux
sudo: required
before_install:
- go get github.com/golang/lint/golint
- go get honnef.co/go/tools/cmd/staticcheck
- go get -d -t ./...
script:
- go build ./...
- go vet ./...
- staticcheck ./...
- ./scripts/golint.sh
- go test -race -v ./...