blob: be07f412f3013c403463501b27d6353423bba553 [file] [log] [blame]
Marc Kupietz4c384ef2023-10-20 20:18:50 +02001# use the tidyverse rocker image, as it contains devtools preinstalled
2image: rocker/tidyverse
3
4# define stages of runner. at the moment,
5# just test and build (no deploy).
6stages:
7 - build
8
9build-and-check:
10 stage: build
11 before_script:
12 - apt-get update && apt-get install -y build-essential libglpk40 libxt6
13 script:
14 # install & check
15 - R -e 'devtools::install()'
16 - R CMD build . && R CMD check --no-manual $(ls -t . | head -n1)