gitlab ci

This commit is contained in:
dr. M.S. (Matthijs) Berends 2019-03-15 14:58:20 +01:00
parent fdffc2791b
commit 4091f62828
1 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,9 @@ coverage:
script: script:
- apt-get install --yes git - apt-get install --yes git
# codecov token is set in https://gitlab.com/msberends/AMR/settings/ci_cd # codecov token is set in https://gitlab.com/msberends/AMR/settings/ci_cd
- Rscript -e 'cc <- covr::package_coverage(); covr::codecov(coverage = cc, token = "${codecov_token}"); cat("Code coverage:", covr::percent_coverage(cc))' - Rscript -e 'print("${codecov_token}")'
- Rscript -e 'print("$codecov_token")'
- Rscript -e 'cc <- covr::package_coverage(); covr::codecov(coverage = cc, token = "$codecov_token"); cat("Code coverage:", covr::percent_coverage(cc))'
coverage: '/Code coverage: \d+\.\d+/' coverage: '/Code coverage: \d+\.\d+/'
pages: pages: