From 6695a307c4be2b8eee1bacd75b25fc10c3dd02b1 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 21 Feb 2019 15:31:48 +0100 Subject: Use codecov --- .travis.yml | 4 ++++ DESCRIPTION | 2 +- README.html | 2 +- README.md | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c0fd6b4e..4b1b59e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,3 +7,7 @@ addons: apt: packages: - gcc +github_packages: + - r-lib/covr +after_success: + - Rscript -e 'covr::codecov()' diff --git a/DESCRIPTION b/DESCRIPTION index 9c44c6ac..138440fc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -19,7 +19,7 @@ Description: Calculation routines based on the FOCUS Kinetics Report (2006, purpose. Imports: stats, graphics, methods, FME, deSolve, R6, minpack.lm, rootSolve, inline, parallel, plyr -Suggests: knitr, rbenchmark, tikzDevice, testthat, rmarkdown +Suggests: knitr, rbenchmark, tikzDevice, testthat, rmarkdown, covr License: GPL LazyLoad: yes LazyData: yes diff --git a/README.html b/README.html index 800ed3cb..09440127 100644 --- a/README.html +++ b/README.html @@ -374,7 +374,7 @@ $(document).ready(function () {

mkin

-

Build Status

+

Build Status codecov

The R package mkin provides calculation routines for the analysis of chemical degradation data, including multicompartment kinetics as needed for modelling the formation and decline of transformation products, or if several compartments are involved.

Installation

diff --git a/README.md b/README.md index 00672827..2fd25d28 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![](https://www.r-pkg.org/badges/version/mkin)](https://cran.r-project.org/package=mkin) [![Build Status](https://travis-ci.com/jranke/mkin.svg?branch=master)](https://travis-ci.com/jranke/mkin) +[![codecov](https://codecov.io/github/jranke/mkin/branch/master/graphs/badge.svg)](https://codecov.io/github/jranke/mkin) The R package **mkin** provides calculation routines for the analysis of chemical degradation data, including multicompartment kinetics as -- cgit v1.2.1