1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 20:06:12 +01:00
This commit is contained in:
dr. M.S. (Matthijs) Berends 2018-12-24 15:32:43 +01:00
parent f68d39c9f1
commit 7408400320

View File

@ -1,7 +1,6 @@
# from https://stackoverflow.com/questions/51866926
# and https://github.com/jangorecki/r.gitlab.ci
# and https://docs.gitlab.com/ce/ci/yaml/README.html
# how the Docker+R images work: https://hub.docker.com/r/rocker/r-ver/
R 3:
image: rocker/r-ver:3 # test on R v3.*.*
@ -40,6 +39,7 @@ pages:
- apt-get update && apt-get -y install libxml2-dev libssl-dev libcurl4-openssl-dev pandoc r-base
- Rscript -e "install.packages(c('pkgdown', 'devtools'), repos = 'http://cran.rstudio.com')"
- Rscript -e "devtools::install_dev_deps(repos = 'https://cran.rstudio.com')"
- Rscript -e "devtools::build()"
- R -e "pkgdown::build_site()"
artifacts:
paths: