mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 06:06:12 +01:00
Update .gitlab-ci.yml
This commit is contained in:
parent
5d1ddbbaaf
commit
ef5cc4cb5f
@ -4,13 +4,13 @@
|
|||||||
image: rocker/r-base
|
image: rocker/r-base
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
linux job:
|
linux job:
|
||||||
stage:
|
stage:
|
||||||
- build
|
- build
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
# install dependencies for package
|
# install dependencies for package
|
||||||
- apt-get install --yes --no-install-recommends r-cran-xml2 r-cran-testthat r-cran-devtools
|
- apt-get install --yes --no-install-recommends r-cran-xml2 r-cran-testthat r-cran-devtools
|
||||||
@ -23,11 +23,11 @@ linux job:
|
|||||||
- R CMD check "${PKG_FILE_NAME}" --no-build-vignettes --no-manual --as-cran
|
- R CMD check "${PKG_FILE_NAME}" --no-build-vignettes --no-manual --as-cran
|
||||||
|
|
||||||
osx job:
|
osx job:
|
||||||
stage:
|
stage:
|
||||||
- build
|
- build
|
||||||
tags:
|
tags:
|
||||||
- osx
|
- osx
|
||||||
script:
|
script:
|
||||||
- R -e 'devtools::install_deps(dependencies = c("Depends", "Imports", "Suggests"))'
|
- R -e 'devtools::install_deps(dependencies = c("Depends", "Imports", "Suggests"))'
|
||||||
# remove vignettes folder and get VignetteBuilder field out of DESCRIPTION file
|
# remove vignettes folder and get VignetteBuilder field out of DESCRIPTION file
|
||||||
- rm -rf vignettes
|
- rm -rf vignettes
|
||||||
@ -38,10 +38,10 @@ osx job:
|
|||||||
|
|
||||||
|
|
||||||
coverage job:
|
coverage job:
|
||||||
stage:
|
stage:
|
||||||
- deploy
|
- deploy
|
||||||
script:
|
script:
|
||||||
# update code coverage
|
# update code coverage
|
||||||
- apt-get install --yes git
|
- apt-get install --yes git
|
||||||
- R -e "covr::codecov(token = '50ffa0aa-fee0-4f8b-a11d-8c7edc6d32ca')"
|
- R -e "covr::codecov(token = '50ffa0aa-fee0-4f8b-a11d-8c7edc6d32ca')"
|
||||||
when: on_success
|
when: on_success
|
||||||
|
Loading…
Reference in New Issue
Block a user