From db0e2a1413dd8acc150b757e0e20ca7b70e3c756 Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Wed, 24 Oct 2018 18:15:56 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5032bdee..1bdfc91b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,8 @@ R 3.3: script: - apt-get update # install dependencies for package - - apt-get install --yes --no-install-recommends r-cran-xml2 r-cran-testthat r-cran-devtools + - apt-get install --yes --no-install-recommends libxml2 + - R -e 'install.packages(c("devtools", "testthat"))' - R -e 'devtools::install_deps(dependencies = c("Depends", "Imports", "Suggests"))' # remove vignettes folder and get VignetteBuilder field out of DESCRIPTION file - rm -rf vignettes @@ -29,7 +30,8 @@ R 3.4: script: - apt-get update # install dependencies for package - - apt-get install --yes --no-install-recommends r-cran-xml2 r-cran-testthat r-cran-devtools + - apt-get install --yes --no-install-recommends libxml2 + - R -e 'install.packages(c("devtools", "testthat"))' - R -e 'devtools::install_deps(dependencies = c("Depends", "Imports", "Suggests"))' # remove vignettes folder and get VignetteBuilder field out of DESCRIPTION file - rm -rf vignettes @@ -44,7 +46,8 @@ R 3.5: script: - apt-get update # install dependencies for package - - apt-get install --yes --no-install-recommends r-cran-xml2 r-cran-testthat r-cran-devtools + - apt-get install --yes --no-install-recommends libxml2 + - R -e 'install.packages(c("devtools", "testthat"))' - R -e 'devtools::install_deps(dependencies = c("Depends", "Imports", "Suggests"))' # remove vignettes folder and get VignetteBuilder field out of DESCRIPTION file - rm -rf vignettes