From a4cc49388c143d960b37c30f56c4b79263cc3607 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Tue, 23 Jun 2020 13:53:22 -0500 Subject: [PATCH] install covr after R CMD check and before cache (so the additional R packages can be cached) --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 72ec3069..9f4d6c16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,8 +22,9 @@ jobs: include: - r: oldrel - r: release + before_cache: + - Rscript -e 'xfun::pkg_load2("covr")' after_success: - - Rscript -e 'xfun::pkg_load2(c("covr", "xml2"))' - Rscript -e 'covr::codecov()' - "(curl -L https://xran.yihui.org/r-xran | bash)" - r: devel