Merge pull request #683 from ipfs/feat/codecov

Move to codecov.io
This commit is contained in:
Hector Sanjuan 2019-02-20 16:11:07 +00:00 committed by GitHub
commit d95fca9a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.