From 3c8ec24374205c50d8fbd79867b1f3f67f591699 Mon Sep 17 00:00:00 2001 From: Robert van Gent Date: Mon, 25 Feb 2019 14:23:00 -0800 Subject: [PATCH] travis: remove coveralls, only use codecov --- .travis.yml | 3 --- README.md | 3 ++- internal/runtests.sh | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index d292d549..5bd17c4d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,9 +41,6 @@ install: git clone _old $TRAVIS_REPO_SLUG; cd $TRAVIS_REPO_SLUG; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - go install github.com/mattn/goveralls; - fi script: - 'internal/runtests.sh' diff --git a/README.md b/README.md index 9f03e836..eef45d8b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ [![Build Status](https://travis-ci.com/google/wire.svg?branch=master)][travis] [![godoc](https://godoc.org/github.com/google/wire?status.svg)][godoc] -[![Coverage Status](https://coveralls.io/repos/github/google/wire/badge.svg?branch=master)](https://coveralls.io/github/google/wire?branch=master) +[![Coverage](https://codecov.io/gh/google/wire/branch/master/graph/badge.svg)](https://codecov.io/gh/google/wire) + Wire is a code generation tool that automates connecting components using [dependency injection][]. Dependencies between components are represented in diff --git a/internal/runtests.sh b/internal/runtests.sh index 8cb889e7..e4e0db4f 100755 --- a/internal/runtests.sh +++ b/internal/runtests.sh @@ -24,11 +24,10 @@ fi result=0 # Run Go tests. Only do coverage for the Linux build -# because it is slow, and Coveralls will only save the last one anyway. +# because it is slow, and codecov will only save the last one anyway. if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then go test -race -coverpkg=./... -coverprofile=coverage.out ./... || result=1 if [ -f coverage.out ]; then - goveralls -coverprofile=coverage.out -service=travis-ci bash <(curl -s https://codecov.io/bash) fi # Ensure that the code has no extra dependencies (including transitive