From 0834bdfabccc65d55afffbb867d1b6c5ba1b966a Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Tue, 23 Oct 2018 20:04:11 +0200 Subject: [PATCH] fix for gitlab pipeline, add covr to appveyor --- .gitlab-ci.yml | 2 +- appveyor.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5e51c94e..588f2e5a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ gitlab: # - R CMD build . --no-build-vignettes --no-manual # - PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1) # - R CMD check "${PKG_FILE_NAME}" --no-manual --as-cran - - R -e "install.packages('backports', 'curl', 'crayon', 'data', 'dplyr', 'hms', 'knitr', 'rlang', 'rvest', 'tidyr', 'xml2', 'covr', 'ggplot2', 'rmarkdown', 'rstudioapi', 'testthat')" + - R -e "install.packages(c('backports', 'curl', 'crayon', 'data', 'dplyr', 'hms', 'knitr', 'rlang', 'rvest', 'tidyr', 'xml2', 'covr', 'ggplot2', 'rmarkdown', 'rstudioapi', 'testthat'))" - R CMD build . --no-build-vignettes --no-manual - PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1) - R CMD check "${PKG_FILE_NAME}" --no-build-vignettes --no-manual --as-cran diff --git a/appveyor.yml b/appveyor.yml index ee100eaa..8b729101 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -35,6 +35,9 @@ on_failure: - 7z a failure.zip *.Rcheck\* - appveyor PushArtifact failure.zip +on_success: + - Rscript -e "covr::codecov()" + artifacts: - path: '*.Rcheck\**\*.log' name: Logs