mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 17:26:12 +01:00
gitlab ci
This commit is contained in:
parent
eab3c9dac8
commit
b92c392dd4
@ -15,6 +15,7 @@
|
|||||||
^git_merge\.sh$
|
^git_merge\.sh$
|
||||||
^git_premaster\.sh$
|
^git_premaster\.sh$
|
||||||
^index\.md$
|
^index\.md$
|
||||||
|
^installed_deps$
|
||||||
^Meta$
|
^Meta$
|
||||||
^packrat/
|
^packrat/
|
||||||
^pkgdown$
|
^pkgdown$
|
||||||
|
@ -35,15 +35,15 @@ before_script:
|
|||||||
- apt-get update
|
- apt-get update
|
||||||
# install dependencies for package
|
# install dependencies for package
|
||||||
- apt-get -y install libxml2-dev libssl-dev libcurl4-openssl-dev zlib1g-dev pandoc r-base
|
- apt-get -y install libxml2-dev libssl-dev libcurl4-openssl-dev zlib1g-dev pandoc r-base
|
||||||
|
- mkdir installed_deps
|
||||||
|
- Rscript -e '.libPaths <- c("installed_deps", .libPatgs())'
|
||||||
- Rscript -e 'install.packages(c("devtools", "rlang"), repos = "https://cran.rstudio.com")'
|
- Rscript -e 'install.packages(c("devtools", "rlang"), repos = "https://cran.rstudio.com")'
|
||||||
- Rscript -e 'devtools::install_dev_deps(repos = "https://cran.rstudio.com")'
|
- Rscript -e 'devtools::install_dev_deps(repos = "https://cran.rstudio.com")'
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
key: "$CI_COMMIT_REF_SLUG"
|
key: "$CI_COMMIT_REF_SLUG"
|
||||||
paths:
|
paths:
|
||||||
- /usr/local/lib/R/site-library/
|
- installed_deps/
|
||||||
- /usr/lib/R/site-library/
|
|
||||||
- /usr/lib/R/library/
|
|
||||||
|
|
||||||
R 3:
|
R 3:
|
||||||
stage: build
|
stage: build
|
||||||
|
Loading…
Reference in New Issue
Block a user