Switch to codecov.io.
This commit is contained in:
parent
a80b42bcc1
commit
f6e90bb0c9
14
.codecov.yml
Normal file
14
.codecov.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Documentation: https://docs.codecov.io/docs/codecov-yaml
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
precision: 3
|
||||||
|
round: down
|
||||||
|
range: "80...100"
|
||||||
|
|
||||||
|
status:
|
||||||
|
# Learn more at https://docs.codecov.io/docs/commit-status
|
||||||
|
project: true
|
||||||
|
patch: true
|
||||||
|
changes: true
|
||||||
|
|
||||||
|
comment: false
|
|
@ -3,7 +3,8 @@ TaggedAlgebraic
|
||||||
|
|
||||||
Implementation of a generic algebraic data type with a tagged union storage. All operations of the contained types are available for the `TaggedAlgebraic`
|
Implementation of a generic algebraic data type with a tagged union storage. All operations of the contained types are available for the `TaggedAlgebraic`
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/s-ludwig/taggedalgebraic.svg?branch=master)](https://travis-ci.org/s-ludwig/taggedalgebraic) [![Coverage Status](https://coveralls.io/repos/s-ludwig/taggedalgebraic/badge.png?branch=master)](https://coveralls.io/r/s-ludwig/taggedalgebraic?branch=master)
|
[![Build Status](https://travis-ci.org/s-ludwig/taggedalgebraic.svg?branch=master)](https://travis-ci.org/s-ludwig/taggedalgebraic) [![codecov](https://codecov.io/gh/s-ludwig/taggedalgebraic/branch/master/graph/badge.svg)](https://codecov.io/gh/s-ludwig/taggedalgebraic)
|
||||||
|
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
set -ueo pipefail
|
set -ueo pipefail
|
||||||
|
|
||||||
if [ ! -z "${COVERAGE:-}" ]; then
|
if [ ! -z "${COVERAGE:-}" ]; then
|
||||||
dub fetch doveralls
|
|
||||||
dub test -b unittest-cov
|
dub test -b unittest-cov
|
||||||
dub run doveralls
|
wget https://codecov.io/bash -O codecov.sh
|
||||||
|
bash codecov.sh
|
||||||
else
|
else
|
||||||
dub test
|
dub test
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue