From 05297ce47589ac3b782be4e78463c1c1d3d89ad7 Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Wed, 6 Jan 2016 18:06:30 +0100 Subject: [PATCH] Configure Coveralls --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a24aede..2ed8d5e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,4 +2,11 @@ language: go go: - 1.5 - - tip \ No newline at end of file + - tip + +install: + - go get golang.org/x/tools/cmd/cover + - go get github.com/mattn/goveralls + +script: + - go test -v -covermode=count -coverprofile=coverage.out $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN \ No newline at end of file