language: go
go:
 - 1.3.x
 - 1.4.x
 - 1.5.x
 - 1.6.x
 - 1.7.x
 - 1.8.x
before_install:
  - go get github.com/mattn/goveralls
script:
 - $HOME/gopath/bin/goveralls -service=travis-ci

language: go
go:
 - 1.3.x
 - 1.4.x
 - 1.5.x
 - 1.6.x
 - 1.7.x
 - 1.8.x
before_install:
  - go get github.com/mattn/goveralls golang.org/x/tools/cmd/cover
script:
 - $HOME/gopath/bin/goveralls -service=travis-ci

Install cover tool during build
Install cover tool during build