Skip to content
Snippets Groups Projects
Commit 3ebdeab4 authored by Sébastien Galais's avatar Sébastien Galais
Browse files

Adjust gitlab-ci.

parent 2fc6ba22
No related branches found
No related tags found
No related merge requests found
Pipeline #451678 failed with stage
in 5 minutes and 1 second
......@@ -10,21 +10,13 @@ before_script:
- apt-get install -y --no-install-recommends qpdf pandoc pandoc-citeproc
build_markdown_v1: # to test R Markdown v1 without pandoc, must install knitr and rmarkdown
image: jangorecki/r-base-dev
image: rocker/r-base:latest
script:
- R -e 'install.packages(c("curl", "jsonlite", "data.table", "tinytest", "knitr", "rmarkdown"))'
- R CMD build .
- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
- R CMD check "${PKG_FILE_NAME}" --no-manual --as-cran
build_cran:
image: jangorecki/r-pkg
script:
- R -e 'install.packages(c("curl", "jsonlite", "data.table", "tinytest"))'
- R CMD build .
- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
- R CMD check "${PKG_FILE_NAME}" --no-manual --as-cran
build_version_latest:
image: rocker/r-ver:latest
script:
......@@ -34,7 +26,7 @@ build_version_latest:
- R CMD check "${PKG_FILE_NAME}" --no-manual --as-cran
build_version_devel:
image: rocker/r-ver:devel
image: rocker/r-devel:latest
script:
- R -e 'install.packages(c("curl", "jsonlite", "data.table", "tinytest", "knitr", "rmarkdown"))'
- R CMD build .
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment