Skip to content

Commit

Permalink
travis: remove coveralls, only use codecov (google#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
vangent authored Feb 25, 2019
1 parent 7916902 commit aa93d6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions internal/runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa93d6e

Please sign in to comment.