mirror of
https://github.com/msberends/AMR.git
synced 2025-01-13 19:31:38 +01:00
Update .gitlab-ci.yml
This commit is contained in:
parent
f79ab3186b
commit
ac5421dfee
@ -11,7 +11,7 @@ stages:
|
|||||||
R 3:
|
R 3:
|
||||||
image: rocker/r-ver:3 # rocker/r-base
|
image: rocker/r-ver:3 # rocker/r-base
|
||||||
stage: build
|
stage: build
|
||||||
allow_failure: true
|
allow_failure: false
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
# install dependencies for package
|
# install dependencies for package
|
||||||
@ -29,6 +29,7 @@ R 3:
|
|||||||
R 3.4:
|
R 3.4:
|
||||||
image: rocker/r-ver:3.4 # rocker/r-base
|
image: rocker/r-ver:3.4 # rocker/r-base
|
||||||
stage: build
|
stage: build
|
||||||
|
allow_failure: true
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
# install dependencies for package
|
# install dependencies for package
|
||||||
@ -46,6 +47,7 @@ R 3.4:
|
|||||||
R 3.5:
|
R 3.5:
|
||||||
image: rocker/r-ver:3.5 # rocker/r-base
|
image: rocker/r-ver:3.5 # rocker/r-base
|
||||||
stage: build
|
stage: build
|
||||||
|
allow_failure: true
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
# install dependencies for package
|
# install dependencies for package
|
||||||
@ -98,9 +100,11 @@ R devel:
|
|||||||
- 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
|
||||||
|
|
||||||
coverage_job:
|
coverage_job:
|
||||||
|
image: rocker/r-ver:3
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
# update code coverage
|
# update code coverage
|
||||||
- apt-get install --yes git
|
- apt-get install --yes git
|
||||||
|
- R -e "install.packages('covr')"
|
||||||
- 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