use goverage for testing with coverage reports

update dependencies
This commit is contained in:
Jakob Schrettenbrunner
2017-06-26 20:28:25 +02:00
parent f20a9b81f8
commit 271e4fb5ef
3 changed files with 21 additions and 19 deletions

View File

@@ -6,10 +6,12 @@ go:
install:
- go get -u github.com/golang/dep/cmd/dep
- go get github.com/haya14busa/goverage
- go get github.com/schrej/godacov
- dep ensure
script:
- go build -o wings
- go test -coverprofile=coverage.out ./...
- goverage -v -coverprofile=coverage.out ./...
- godacov -t $CODACY_TOKEN -r ./coverage.out -c $TRAVIS_COMMIT