Commit 984acd14 authored by Facundo Muñoz's avatar Facundo Muñoz ®️
Browse files

GitLab CI: test in R-devel.

Also: remove debug entries.
parent fcd10103
Pipeline #11568 passed with stages
in 4 minutes and 34 seconds
......@@ -22,21 +22,30 @@ variables:
CHECK_DIR: "$CI_PROJECT_DIR/ci/logs"
BUILD_LOGS_DIR: "$CI_PROJECT_DIR/ci/logs/$CI_PROJECT_NAME.Rcheck"
test:
.test-template: &test
script:
- mkdir -p $R_LIBS $BUILD_LOGS_DIR
# system requirements
- apt-get install -y --no-install-recommends libv8-dev libjq-dev libprotobuf-dev protobuf-compiler qpdf libgdal-dev libproj-dev libudunits2-dev
- R -e 'devtools::install_deps(dep = T, lib = Sys.getenv("R_LIBS"))'
- echo $R_LIBS
- R -e 'Sys.getenv("R_LIBS")'
- R -e '.libPaths()'
- R -e 'installed.packages()["deldir",]'
- R -e 'devtools::check(check_dir = Sys.getenv("CHECK_DIR"))'
- R -e 'if (length(devtools::check_failures(path = Sys.getenv("BUILD_LOGS_DIR"), note = FALSE)) > 0) stop()'
cache:
paths:
- $R_LIBS
artifacts:
paths:
- $BUILD_LOGS_DIR
test-release:
<<: *test
image: rocker/shiny-verse
test-devel:
<<: *test
image: rocker/shiny-verse:devel
after_script:
- R -e 'covr::package_coverage(Sys.getenv("CI_PROJECT_DIR"))'
......
Package: mapMCDA
Title: Produce an epidemiological risk map by weighting multiple risk
factors
Version: 0.4.40
Date: 2020-04-22
Version: 0.4.42
Date: 2020-04-24
Authors@R: c( person("Andrea", "Apolloni", email =
"andrea.apolloni@cirad.fr", role = c("ctb"), comment = "Animal
mobility algorithm"), person("Elena", "Arsevska", email =
......
Markdown is supported
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