Browse Source

gitlab ci

latest
boB Rudis 2 years ago
parent
commit
8f90d925ba
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      .gitlab-ci.yml

+ 9
- 0
.gitlab-ci.yml View File

@ -0,0 +1,9 @@
image: rocker/tidyverse
test:
script:
- sudo apt-get -y libpsl-dev
- R -e 'install.packages(c("testthat", "covr", "Rcpp", "stringi", "knitr", "rmarkdown"))'
- 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
- R -e 'devtools::test()'

Loading…
Cancel
Save