From 5c6ff1bbda46a159737dabede3a1c1a192ee9d2e Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Sat, 5 Jan 2019 22:52:09 +0100 Subject: [PATCH] R release test --- .gitlab-ci.yml | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23bfd0f4..59318191 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ stages: - deploy # debian stretch only contains R 3.3... -#image: debian:buster-slim +image: debian:buster-slim before_script: - apt-get update -qq @@ -54,8 +54,7 @@ cache: paths: - installed_deps/ -R-latest: - image: rocker/r-ver:latest +R: stage: build allow_failure: true script: @@ -71,23 +70,6 @@ R-latest: - '*.Rcheck/*' expire_in: '1 month' -R-devel: - image: rocker/r-ver:devel - stage: build - allow_failure: true - script: - # remove vignettes folder and get VignetteBuilder field out of DESCRIPTION file - - rm -rf vignettes - - Rscript -e 'd <- read.dcf("DESCRIPTION"); d[, colnames(d) == "VignetteBuilder"] <- NA; write.dcf(d, "DESCRIPTION"$ - # build package - - 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 - artifacts: - paths: - - '*.Rcheck/*' - expire_in: '1 month' - coverage: stage: test allow_failure: true