1
0
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:
dr. M.S. (Matthijs) Berends 2018-10-25 18:32:00 +00:00
parent f79ab3186b
commit ac5421dfee

View File

@ -11,7 +11,7 @@ stages:
R 3:
image: rocker/r-ver:3 # rocker/r-base
stage: build
allow_failure: true
allow_failure: false
script:
- apt-get update
# install dependencies for package
@ -29,6 +29,7 @@ R 3:
R 3.4:
image: rocker/r-ver:3.4 # rocker/r-base
stage: build
allow_failure: true
script:
- apt-get update
# install dependencies for package
@ -46,6 +47,7 @@ R 3.4:
R 3.5:
image: rocker/r-ver:3.5 # rocker/r-base
stage: build
allow_failure: true
script:
- apt-get update
# install dependencies for package
@ -98,9 +100,11 @@ R devel:
- R CMD check "${PKG_FILE_NAME}" --no-build-vignettes --no-manual --as-cran
coverage_job:
image: rocker/r-ver:3
stage: deploy
script:
# update code coverage
- apt-get install --yes git
- R -e "install.packages('covr')"
- R -e "covr::codecov(token = '50ffa0aa-fee0-4f8b-a11d-8c7edc6d32ca')"
when: on_success