1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-26 16:46:13 +01:00

ci update

This commit is contained in:
dr. M.S. (Matthijs) Berends 2019-04-07 10:27:46 +02:00
parent 13f85ac80f
commit e76114f394

View File

@ -49,11 +49,6 @@ before_script:
- echo 'LANG="en_US.utf8"' >> .Renviron
- echo 'LANGUAGE="en_US.utf8"' > ~/.Renviron
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- installed_deps/
R-release:
stage: build
allow_failure: true
@ -73,12 +68,21 @@ R-release:
paths:
- '*.Rcheck/*'
expire_in: '1 month'
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- installed_deps/
R-devel:
stage: build
image: rocker/r-devel
allow_failure: true
script:
# set language
- echo 'LANGUAGE="en_US.utf8"' > .Renviron
- echo 'LANG="en_US.utf8"' >> .Renviron
- echo 'LANGUAGE="en_US.utf8"' > ~/.Renviron
- rm -rf installed_deps
- Rscriptdevel -e 'sessionInfo()'
# install missing and outdated packages
- Rscriptdevel -e 'source(".gitlab-ci.R"); gl_update_pkg_all(repos = "https://cran.rstudio.com", quiet = TRUE, install_pkgdown = TRUE)'