mirror of
https://github.com/msberends/AMR.git
synced 2025-01-14 05:21:38 +01:00
ci update
This commit is contained in:
parent
13f85ac80f
commit
e76114f394
@ -49,11 +49,6 @@ before_script:
|
|||||||
- echo 'LANG="en_US.utf8"' >> .Renviron
|
- echo 'LANG="en_US.utf8"' >> .Renviron
|
||||||
- echo 'LANGUAGE="en_US.utf8"' > ~/.Renviron
|
- echo 'LANGUAGE="en_US.utf8"' > ~/.Renviron
|
||||||
|
|
||||||
cache:
|
|
||||||
key: "$CI_COMMIT_REF_SLUG"
|
|
||||||
paths:
|
|
||||||
- installed_deps/
|
|
||||||
|
|
||||||
R-release:
|
R-release:
|
||||||
stage: build
|
stage: build
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
@ -73,12 +68,21 @@ R-release:
|
|||||||
paths:
|
paths:
|
||||||
- '*.Rcheck/*'
|
- '*.Rcheck/*'
|
||||||
expire_in: '1 month'
|
expire_in: '1 month'
|
||||||
|
cache:
|
||||||
|
key: "$CI_COMMIT_REF_SLUG"
|
||||||
|
paths:
|
||||||
|
- installed_deps/
|
||||||
|
|
||||||
R-devel:
|
R-devel:
|
||||||
stage: build
|
stage: build
|
||||||
image: rocker/r-devel
|
image: rocker/r-devel
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
script:
|
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()'
|
- Rscriptdevel -e 'sessionInfo()'
|
||||||
# install missing and outdated packages
|
# 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)'
|
- Rscriptdevel -e 'source(".gitlab-ci.R"); gl_update_pkg_all(repos = "https://cran.rstudio.com", quiet = TRUE, install_pkgdown = TRUE)'
|
||||||
|
Loading…
Reference in New Issue
Block a user