1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 18:06:12 +01:00

gitlab ci

This commit is contained in:
dr. M.S. (Matthijs) Berends 2019-01-04 12:13:02 +01:00
parent eab3c9dac8
commit b92c392dd4
2 changed files with 4 additions and 3 deletions

View File

@ -15,6 +15,7 @@
^git_merge\.sh$
^git_premaster\.sh$
^index\.md$
^installed_deps$
^Meta$
^packrat/
^pkgdown$

View File

@ -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