report coverage to codacy using travis and godacov

This commit is contained in:
Jakob Schrettenbrunner 2017-06-26 16:59:02 +02:00
parent ccc1c8e19a
commit 7e8a3e7e65

View File

@ -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