From 21f1c086afede456ddd57450c3915955109e3b6a Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 20 Dec 2014 18:34:10 +0800 Subject: [PATCH] Update .travis.yml --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index db7a834..757a906 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,10 @@ language: go go: - 1.4 -install: - - go get golang.org/x/tools/cmd/cover github.com/mattn/goveralls github.com/modocache/gover - +before_install: + - go get github.com/axw/gocov/gocov + - go get github.com/mattn/goveralls + - go get golang.org/x/tools/cmd/cover script: - - 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 + - ./clean.sh + - $HOME/gopath/bin/goveralls -repotoken W04Y4p452CDeI9gcsC8t5y217uHnUDFCb