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

xml2 dep for gitlab ci

This commit is contained in:
dr. M.S. (Matthijs) Berends 2018-10-23 22:25:53 +02:00
parent 60747e56f0
commit 19f056a6d7

View File

@ -3,15 +3,8 @@
image: rocker/r-base
gitlab:
script:
# - apt-get update
# - apt-get install --yes libssl1.0.0=1.0.2g-1ubuntu4.1
#- apt-get install --yes libssl-dev libcurl4-openssl-dev libxml2-dev
#- R -e "install.packages(c('backports', 'curl', 'crayon', 'data', 'dplyr', 'hms', 'knitr', 'rlang', 'rvest', 'tidyr', 'xml2', 'covr', 'ggplot2', 'rmarkdown', 'rstudioapi', 'testthat'))"
#- R CMD build . --no-build-vignettes --no-manual
#- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
#- R CMD check "${PKG_FILE_NAME}" --no-build-vignettes --no-manual --as-cran
- apt-get update
- apt-get install --yes --no-install-recommends r-cran-testthat r-cran-devtools
- apt-get install --yes --no-install-recommends r-cran-xml2 r-cran-testthat r-cran-devtools
- R -e 'devtools::install_deps(dependencies = c("Depends", "Imports", "Suggests"))'
- R CMD build . --no-build-vignettes --no-manual
- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)