diff --git a/.travis.yml b/.travis.yml index c92e80d..7d9d5e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,15 @@ language: go +os: + - linux + go: - 1.8.x - master + +script: + - go get golang.org/x/tools/cmd/cover + - go get github.com/mattn/goveralls + - go install github.com/mattn/goveralls + - go test -v -covermode=count -coverprofile=coverage.out + - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN