Skip to content
Permalink
Browse files

enable code coverage

  • Loading branch information
yihui committed Jul 26, 2018
1 parent d54c39a commit a4d428b4a22539ccd02d14a56ec174507e19c94a
Showing with 15 additions and 0 deletions.
  1. +1 −0 .Rbuildignore
  2. +1 −0 .travis.yml
  3. +1 −0 README.md
  4. +12 −0 codecov.yml
@@ -3,3 +3,4 @@
^\.travis\.yml$
^\.github$
^docs$
^codecov\.yml$
@@ -23,4 +23,5 @@ before_script:
- "[ -x \"$HOME/bin/hugo\" ] || Rscript -e \"blogdown::install_hugo()\""

after_success:
- Rscript -e 'if (!require("covr")) install.packages("covr"); covr::codecov()'
- "(curl https://xran.yihui.name/r-xran | bash)"
@@ -1,6 +1,7 @@
# blogdown

[![Build Status](https://travis-ci.org/rstudio/blogdown.svg)](https://travis-ci.org/rstudio/blogdown)
[![Coverage status](https://codecov.io/gh/rstudio/blogdown/branch/master/graph/badge.svg)](https://codecov.io/github/rstudio/blogdown?branch=master)
[![Downloads from the RStudio CRAN mirror](https://cranlogs.r-pkg.org/badges/grand-total/blogdown)](https://cran.r-project.org/package=blogdown)

<a href="https://bookdown.org/yihui/blogdown"><img src="https://bookdown.org/yihui/blogdown/images/logo.png" alt="blogdown logo" align="right" /></a>
@@ -0,0 +1,12 @@
comment: false

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

0 comments on commit a4d428b

Please sign in to comment.
You can’t perform that action at this time.