travis: try using codecov (#131)

This commit is contained in:
Robert van Gent
2019-02-15 11:31:52 -08:00
committed by Ross Light
parent 9a6cb457fe
commit 2f2872ac02

View File

@@ -29,6 +29,7 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
go test -race -coverpkg=./... -coverprofile=coverage.out ./... || result=1 go test -race -coverpkg=./... -coverprofile=coverage.out ./... || result=1
if [ -f coverage.out ]; then if [ -f coverage.out ]; then
goveralls -coverprofile=coverage.out -service=travis-ci goveralls -coverprofile=coverage.out -service=travis-ci
bash <(curl -s https://codecov.io/bash)
fi fi
# Ensure that the code has no extra dependencies (including transitive # Ensure that the code has no extra dependencies (including transitive
# dependencies) that we're not already aware of by comparing with # dependencies) that we're not already aware of by comparing with