Move to codecov.io

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
This commit is contained in:
Hector Sanjuan 2019-02-20 14:11:58 +00:00
parent f57c5e4066
commit 81ab0d6c43
2 changed files with 4 additions and 9 deletions

View File

@ -20,21 +20,16 @@ jobs:
- stage: "Testing stage"
name: "Tests (all modules) + Coverage"
script:
- go get -u github.com/mattn/goveralls
- go get -u golang.org/x/tools/cmd/cover
- make deps
- go test -v -coverprofile=coverage.out -covermode=count ./...
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci
- go test -v -coverprofile=coverage.txt -covermode=atomic ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
- name: "Main Tests with basic monitor"
script:
- go get -u github.com/mattn/goveralls
- go get -u golang.org/x/tools/cmd/cover
- make deps
- go test -v . -monitor basic
- name: "Main Tests with stateless tracker"
script:
- go get -u github.com/mattn/goveralls
- go get -u golang.org/x/tools/cmd/cover
- make deps
- go test -v . -tracker stateless
- name: "Golint and go vet"

View File

@ -8,7 +8,7 @@
[![GoDoc](https://godoc.org/github.com/ipfs/ipfs-cluster?status.svg)](https://godoc.org/github.com/ipfs/ipfs-cluster)
[![Go Report Card](https://goreportcard.com/badge/github.com/ipfs/ipfs-cluster)](https://goreportcard.com/report/github.com/ipfs/ipfs-cluster)
[![Build Status](https://travis-ci.com/ipfs/ipfs-cluster.svg?branch=master)](https://travis-ci.com/ipfs/ipfs-cluster)
[![Coverage Status](https://coveralls.io/repos/github/ipfs/ipfs-cluster/badge.svg?branch=master)](https://coveralls.io/github/ipfs/ipfs-cluster?branch=master)
[![codecov](https://codecov.io/gh/ipfs/ipfs-cluster/branch/master/graph/badge.svg)](https://codecov.io/gh/ipfs/ipfs-cluster)
> Pinset orchestration for IPFS.