Skip to content

Commit

Permalink
adding codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHvitfeldt committed Apr 6, 2018
1 parent 646b308 commit 5359462
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions .Rbuildignore
Expand Up @@ -3,3 +3,4 @@
README.Rmd
^\.travis\.yml$
^data-raw$
^codecov\.yml$
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -3,3 +3,6 @@
language: R
sudo: false
cache: packages

after_success:
- Rscript -e 'covr::codecov()'
3 changes: 2 additions & 1 deletion DESCRIPTION
Expand Up @@ -24,5 +24,6 @@ RoxygenNote: 6.0.1.9000
Suggests:
testthat,
knitr,
rmarkdown
rmarkdown,
covr
VignetteBuilder: knitr
1 change: 1 addition & 0 deletions README.Rmd
Expand Up @@ -10,6 +10,7 @@ knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, message = FALSE,
# ggpage

[![Travis build status](https://travis-ci.org/EmilHvitfeldt/ggpage.svg?branch=master)](https://travis-ci.org/EmilHvitfeldt/ggpage)
[![Coverage status](https://codecov.io/gh/EmilHvitfeldt/ggpage/branch/master/graph/badge.svg)](https://codecov.io/github/EmilHvitfeldt/ggpage?branch=master)

`ggpage` is a package to create pagestyled visualizations of text based data. It uses ggplot2 and final returns are ggplot2 objects.

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 5359462

Please sign in to comment.