language: go
go:
  - 1.11
env:
  - "PATH=/home/travis/gopath/bin:$PATH"
before_install:
  - go get golang.org/x/lint/golint
  - go get github.com/mattn/goveralls
script:
  - go vet 
  - golint -set_exit_status
  - go test -race -v
  - $HOME/gopath/bin/goveralls -ignore main.go -v -service=travis-ci
