From 190b1b53a6a8f5e1852e20bfd46a46919a0db327 Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Wed, 6 Jan 2016 18:29:11 +0100 Subject: [PATCH] Fix Coveralls support --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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