From ba08da858b1d3684c99b79e453fe15a934a72e94 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 20 Dec 2014 18:00:49 +0800 Subject: [PATCH] Update .travis.yml --- .travis.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index dea765b..1dd8fe3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,10 @@ language: go go: - 1.4 -before_install: - - go get github.com/axw/gocov/gocov - - go get github.com/mattn/goveralls - - go get golang.org/x/tools/cmd/cover +install: + - go get code.google.com/p/go.tools/cmd/cover github.com/mattn/goveralls github.com/modocache/gover + script: - - $HOME/gopath/bin/goveralls -repotoken W04Y4p452CDeI9gcsC8t5y217uHnUDFCb + - go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs sh -c + - gover + - goveralls -coverprofile=gover.coverprofile -service=travis-ci -repotoken W04Y4p452CDeI9gcsC8t5y217uHnUDFCb