diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4440355a..5e51c94e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/README.md b/README.md index c5c788bf..e9f5d84b 100755 --- a/README.md +++ b/README.md @@ -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)