From 7e8a3e7e65837c6e8c6e9d69bc777e22502cc986 Mon Sep 17 00:00:00 2001 From: Jakob Schrettenbrunner Date: Mon, 26 Jun 2017 16:59:02 +0200 Subject: [PATCH] report coverage to codacy using travis and godacov --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5f86a1c..a2e98be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,10 @@ go: install: - go get -u github.com/golang/dep/cmd/dep + - go get github.com/schrej/godacov - dep ensure script: - go build -o wings - - go test + - go test -coverprofile=coverage.out + - godacov -t $CODACY_TOKEN -r ./coverage.out -c $TRAVIS_COMMIT