diff --git a/.travis.yml b/.travis.yml index 97c5e9e..1a4d997 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,13 +3,12 @@ sudo: false language: go go: - - 1.5 - tip -install: - - go get golang.org/x/tools/cmd/cover +before_install: + - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls + - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi script: - - go test -v ./xmpp -covermode=count -coverprofile=coverage.out - - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN \ No newline at end of file + - $HOME/gopath/bin/goveralls -service=travis-ci