summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2017-03-20 21:21:13 +0100
committerwinniehell <git@winniehell.de>2017-03-23 19:22:30 +0100
commit9d951e5fd5ac78d050f76ab4e4e0159646336b57 (patch)
tree83d168d31cd44d2fb95861c2d4c342ad56a2547e /.gitlab-ci.yml
parent9bfff603fe91f56b0355e102f5d62c8dccc1d9f8 (diff)
downloadgitlab-ce-9d951e5fd5ac78d050f76ab4e4e0159646336b57.tar.gz
Include JavaScript test coverage in coverage badge (!10097)
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 080d8cd6c7f..61eea4061e0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -279,6 +279,7 @@ rake karma:
<<: *dedicated-runner
script:
- bundle exec rake karma
+ coverage: '/^Statements *: (\d+\.\d+%)/'
artifacts:
name: coverage-javascript
expire_in: 31d
@@ -343,6 +344,7 @@ coverage:
USE_BUNDLE_INSTALL: "true"
script:
- bundle exec scripts/merge-simplecov
+ coverage: '/LOC \((\d+\.\d+%)\) covered.$/'
artifacts:
name: coverage
expire_in: 31d