From 48fb85e6d2c1e18bdfbbd972d7d43dbbc005fcd2 Mon Sep 17 00:00:00 2001 From: Sotirios Mantziaris Date: Tue, 2 Feb 2016 22:50:06 +0200 Subject: [PATCH] added coveralls support --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b7b2c2f..e482c00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,4 +2,9 @@ language: go go: - 1.5.3 - tip -script: go test -v ./... +before_script: + - go get golang.org/x/tools/cmd/cover + - go get github.com/mattn/goveralls +script: go test -v -covermode=count -coverprofile=coverage.out . +after_success: + - $HOME/gopath/bin/goveralls -covermode=count -coverprofile=coverage.out -service=travis-ci \ No newline at end of file