mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 09:26:13 +01:00
try to fix gitlab pipelines
This commit is contained in:
parent
87757748bd
commit
160e025609
@ -1,10 +1,15 @@
|
||||
# from https://stackoverflow.com/questions/51866926
|
||||
# and https://github.com/jangorecki/r.gitlab.ci
|
||||
image: rocker/r-base
|
||||
gitlab:
|
||||
script:
|
||||
- apt-get update
|
||||
- apt-get install --yes --no-install-recommends r-cran-testthat r-cran-devtools
|
||||
- R -e "devtools::install_deps(dependencies = TRUE)"
|
||||
# - apt-get update
|
||||
# - apt-get install --yes --no-install-recommends r-cran-testthat r-cran-devtools
|
||||
# - R -e "devtools::install_deps(dependencies = TRUE)"
|
||||
# - 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-manual --as-cran
|
||||
- R -e "install.packages('backports', 'curl', 'crayon', 'data', 'dplyr', 'hms', 'knitr', 'rlang', 'rvest', 'tidyr', 'xml2', 'covr', 'ggplot2', 'rmarkdown', 'rstudioapi', 'testthat')"
|
||||
- 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-manual --as-cran
|
||||
- R CMD check "${PKG_FILE_NAME}" --no-build-vignettes --no-manual --as-cran
|
||||
|
@ -140,7 +140,7 @@ This is the latest **development version**. Although it may contain bugfixes and
|
||||
|
||||
Development Test | Result | Reference
|
||||
--- | :---: | ---
|
||||
All functions checked on Linux and macOS | [(click view)](https://gitlab.com/msberends/AMR/pipelines) | GitLab [[ref 1]](https://gitlab.com/msberends/AMR/pipelines)
|
||||
All functions checked on Linux and macOS | [![pipeline status](https://gitlab.com/msberends/AMR/badges/master/pipeline.svg)](https://gitlab.com/msberends/AMR/commits/master) | GitLab [[ref 1]](https://gitlab.com/msberends/AMR/pipelines)
|
||||
All functions checked on Windows | [![AppVeyor_Build](https://ci.appveyor.com/api/projects/status/gitlab/msberends/AMR?branch=master&svg=true)](https://ci.appveyor.com/project/msberends/amr-svxon) | Appveyor Systems Inc. [[ref 2]](https://ci.appveyor.com/project/msberends/amr-svxon)
|
||||
Percentage of syntax lines checked | [![Code_Coverage](https://codecov.io/gl/msberends/AMR/branch/master/graph/badge.svg)](https://codecov.io/gl/msberends/AMR) | Codecov LLC [[ref 3]](https://codecov.io/gl/msberends/AMR)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user