1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 18:46:11 +01:00

gitlab ci

This commit is contained in:
dr. M.S. (Matthijs) Berends 2019-03-15 14:58:20 +01:00
parent fdffc2791b
commit 4091f62828

View File

@ -84,7 +84,9 @@ coverage:
script:
- apt-get install --yes git
# 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+/'
pages: