1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-26 08:06:12 +01:00

gitlab ci

This commit is contained in:
dr. M.S. (Matthijs) Berends 2018-12-30 10:07:39 +01:00
parent 48f097c5b2
commit dc0c63132f
2 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,7 @@ pages:
stage: deploy
dependencies:
- setup
when: on_success
when: always
only:
- master
script:

1
ci.R
View File

@ -38,6 +38,7 @@ ci_check <- function() {
ci_coverage <- function() {
install_if_needed("covr")
devtools::install()
cc <- covr::package_coverage(type = c("tests", "examples"))
covr::codecov(coverage = cc, token = "50ffa0aa-fee0-4f8b-a11d-8c7edc6d32ca")
cat("Code coverage:", covr::percent_coverage(cc))