Skip to content

Commit 644172f

Browse files
committed
codecov
1 parent 12e1f13 commit 644172f

4 files changed

Lines changed: 29 additions & 1 deletion

File tree

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
2+
3+
language: R
4+
cache: packages
5+
6+
7+
r_packages:
8+
- covr
9+
10+
after_success:
11+
- Rscript -e 'library(covr); codecov()'

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Suggests:
1414
devtools,
1515
knitr,
1616
rmarkdown,
17-
ggplot2
17+
ggplot2,
18+
covr
1819
Depends:
1920
R (>= 2.10)
2021
VignetteBuilder: knitr

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<!-- README.md is generated from README.Rmd. Please edit that file -->
22
<!-- badges: start -->
33
[![R build status](https://github.com/lsteinmann/datplot/workflows/R-CMD-check/badge.svg)](https://github.com/lsteinmann/datplot/actions)
4+
[![Codecov test coverage](https://codecov.io/gh/lsteinmann/datplot/branch/master/graph/badge.svg)](https://codecov.io/gh/lsteinmann/datplot?branch=master)
5+
[![Travis build status](https://travis-ci.com/lsteinmann/datplot.svg?branch=master)](https://travis-ci.com/lsteinmann/datplot)
46
<!-- badges: end -->
57

68
datplot

codecov.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
comment: false
2+
3+
coverage:
4+
status:
5+
project:
6+
default:
7+
target: auto
8+
threshold: 1%
9+
informational: true
10+
patch:
11+
default:
12+
target: auto
13+
threshold: 1%
14+
informational: true

0 commit comments

Comments
 (0)