language: go
go:
  - 1.x
os:
  - linux
sudo: required
before_install:
  - go get golang.org/x/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 ./...
