Skip to content

Commit

Permalink
✨add codecov, closes #13
Browse files Browse the repository at this point in the history
  • Loading branch information
pierucci committed Sep 4, 2016
1 parent 906541f commit 6e71f30
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
^.*\.Rproj$
^\.Rproj\.user$
^\.travis\.yml$
^codecov\.yaml$
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ branches:
- devel
- /^hotfix\/.*$/
- /^release\/.*$/

r_packages:
- covr

after_success:
- Rscript -e 'library(covr); codecov()'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# rgho - Access WHO Global Health Observatory Data From R

[![Travis-CI Build Status](https://travis-ci.org/pierucci/rgho.svg?branch=master)](https://travis-ci.org/pierucci/rgho) [![](http://www.r-pkg.org/badges/version/rgho)](http://www.r-pkg.org/pkg/rgho)
[![Travis-CI Build Status](https://travis-ci.org/pierucci/rgho.svg?branch=master)](https://travis-ci.org/pierucci/rgho) [![](http://www.r-pkg.org/badges/version/rgho)](http://www.r-pkg.org/pkg/rgho) [![Coverage Status](https://img.shields.io/codecov/c/github/pierucci/rgho/master.svg)](https://codecov.io/github/pierucci/rgho?branch=master)

`rgho` is an `R` package to access [WHO GHO data](http://www.who.int/gho/database/en/) from `R` via the Athena web service, an API providing a simple query interface to the World Health Organization's data and statistics content.

Expand Down
7 changes: 7 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
comment:
layout: header, changes, diff
coverage:
status:
patch: false
round: nearest
range: "70...99"

0 comments on commit 6e71f30

Please sign in to comment.