From cdc91dd9ba7b99137f08708679d3add3b435d301 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sun, 10 Aug 2014 14:02:54 -0500 Subject: [PATCH] Setup TravisCI to report cov stats to coveralls.io. --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ae71c02f..c16e2644 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,11 @@ language: go go: release -install: go get -d -t -v ./... +install: + - go get -d -t -v ./... + - go get -v code.google.com/p/go.tools/cmd/cover +script: + - go test -v -covermode=count -coverprofile=profile.cov +after_success: + - go get -v github.com/mattn/goveralls + - export PATH=$PATH:$HOME/gopath/bin + - goveralls -coverprofile=profile.cov -service=travis-ci