travis: remove coveralls, only use codecov (#136)
This commit is contained in:
@@ -41,9 +41,6 @@ install:
|
|||||||
git clone _old $TRAVIS_REPO_SLUG;
|
git clone _old $TRAVIS_REPO_SLUG;
|
||||||
cd $TRAVIS_REPO_SLUG;
|
cd $TRAVIS_REPO_SLUG;
|
||||||
fi
|
fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
|
||||||
go install github.com/mattn/goveralls;
|
|
||||||
fi
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- 'internal/runtests.sh'
|
- 'internal/runtests.sh'
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
[][travis]
|
[][travis]
|
||||||
[][godoc]
|
[][godoc]
|
||||||
[](https://coveralls.io/github/google/wire?branch=master)
|
[](https://codecov.io/gh/google/wire)
|
||||||
|
|
||||||
|
|
||||||
Wire is a code generation tool that automates connecting components using
|
Wire is a code generation tool that automates connecting components using
|
||||||
[dependency injection][]. Dependencies between components are represented in
|
[dependency injection][]. Dependencies between components are represented in
|
||||||
|
|||||||
@@ -24,11 +24,10 @@ fi
|
|||||||
result=0
|
result=0
|
||||||
|
|
||||||
# Run Go tests. Only do coverage for the Linux build
|
# 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
|
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
|
|
||||||
bash <(curl -s https://codecov.io/bash)
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user