language: go
go:
  - "1.7.x"
  - "1.8.x"
  - "1.9.x"
  - "1.10.x"

before_install:
  - go get github.com/mattn/goveralls

script:
  - go test -v -race -cover
  - $GOPATH/bin/goveralls -service=travis-ci
