Skip to content

Commit

Permalink
added covr::codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
‘Marta committed Sep 26, 2018
1 parent 7a28a13 commit 470478c
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 2 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Expand Up @@ -3,3 +3,4 @@
^README\.Rmd$
^\.travis\.yml$
^appveyor\.yml$
^codecov\.yml$
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -13,3 +13,6 @@ r:
- 3.4
- release
- devel

after_success:
- Rscript -e 'covr::codecov(ype = "all")'
3 changes: 2 additions & 1 deletion DESCRIPTION
Expand Up @@ -17,7 +17,8 @@ URL: https://github.com/martakarass/adept
BugReports: https://github.com/martakarass/adept/issues
Suggests:
knitr,
rmarkdown
rmarkdown,
covr
VignetteBuilder: knitr
Imports:
tibble,
Expand Down
1 change: 1 addition & 0 deletions README.Rmd
Expand Up @@ -4,6 +4,7 @@ output: github_document

[![Travis build status](https://travis-ci.com/martakarass/adept.svg?branch=master)](https://travis-ci.com/martakarass/adept)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/martakarass/adept?branch=master&svg=true)](https://ci.appveyor.com/project/martakarass/adept)
[![Coverage status](https://codecov.io/gh/martakarass/adept/branch/master/graph/badge.svg)](https://codecov.io/github/martakarass/adept?branch=master)

<!-- README.md is generated from README.Rmd. Please edit that file -->

Expand Down
2 changes: 1 addition & 1 deletion README.md
@@ -1,5 +1,5 @@

[![Travis build status](https://travis-ci.com/martakarass/adept.svg?branch=master)](https://travis-ci.com/martakarass/adept) [![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/martakarass/adept?branch=master&svg=true)](https://ci.appveyor.com/project/martakarass/adept)
[![Travis build status](https://travis-ci.com/martakarass/adept.svg?branch=master)](https://travis-ci.com/martakarass/adept) [![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/martakarass/adept?branch=master&svg=true)](https://ci.appveyor.com/project/martakarass/adept) [![Coverage status](https://codecov.io/gh/martakarass/adept/branch/master/graph/badge.svg)](https://codecov.io/github/martakarass/adept?branch=master)

<!-- README.md is generated from README.Rmd. Please edit that file -->
adept
Expand Down
12 changes: 12 additions & 0 deletions codecov.yml
@@ -0,0 +1,12 @@
comment: false

coverage:
status:
project:
default:
target: auto
threshold: 1%
patch:
default:
target: auto
threshold: 1%

0 comments on commit 470478c

Please sign in to comment.