From dc0c63132f32ee19caf319f7e8eaed7ccd5424cf Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Sun, 30 Dec 2018 10:07:39 +0100 Subject: [PATCH] gitlab ci --- .gitlab-ci.yml | 2 +- ci.R | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54addf4b..33d2857b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -63,7 +63,7 @@ pages: stage: deploy dependencies: - setup - when: on_success + when: always only: - master script: diff --git a/ci.R b/ci.R index d900b3f5..48e6c695 100644 --- a/ci.R +++ b/ci.R @@ -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))