mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 05:26:13 +01:00
gitlab ci
This commit is contained in:
parent
eab3c9dac8
commit
b92c392dd4
@ -15,6 +15,7 @@
|
||||
^git_merge\.sh$
|
||||
^git_premaster\.sh$
|
||||
^index\.md$
|
||||
^installed_deps$
|
||||
^Meta$
|
||||
^packrat/
|
||||
^pkgdown$
|
||||
|
@ -35,15 +35,15 @@ before_script:
|
||||
- apt-get update
|
||||
# install dependencies for package
|
||||
- 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 'devtools::install_dev_deps(repos = "https://cran.rstudio.com")'
|
||||
|
||||
cache:
|
||||
key: "$CI_COMMIT_REF_SLUG"
|
||||
paths:
|
||||
- /usr/local/lib/R/site-library/
|
||||
- /usr/lib/R/site-library/
|
||||
- /usr/lib/R/library/
|
||||
- installed_deps/
|
||||
|
||||
R 3:
|
||||
stage: build
|
||||
|
Loading…
Reference in New Issue
Block a user