summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-07-21 14:54:31 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-07-21 15:41:45 +0200
commitf0f77252b851f0ecc14f51f06df595556b89e442 (patch)
tree4945c1087d603ab4ad7786ff3845036880458b71 /.gitlab-ci.yml
parent133df7ee57ae217720af9887d8373299ca15d982 (diff)
downloadgitlab-ce-f0f77252b851f0ecc14f51f06df595556b89e442.tar.gz
Deploy ruby test coverage report to gitlab pages
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml43
1 files changed, 29 insertions, 14 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8f75a46dfe8..d5305d9a26b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -63,20 +63,6 @@ update-knapsack:
only:
- master
-update-coverage:
- stage: post-test
- services: []
- variables:
- USE_DB: "false"
- USE_BUNDLE_INSTALL: "true"
- script:
- - bundle exec scripts/merge-simplecov
- artifacts:
- expire_in: 31d
- paths:
- - coverage/index.html
- - coverage/assets/
-
# Execute all testing suites
.use-db: &use-db
@@ -246,6 +232,21 @@ bundler:audit:
script:
- "bundle exec bundle-audit check --update --ignore OSVDB-115941"
+coverage:
+ stage: post-test
+ services: []
+ variables:
+ USE_DB: "false"
+ USE_BUNDLE_INSTALL: "true"
+ script:
+ - bundle exec scripts/merge-simplecov
+ artifacts:
+ expire_in: 31d
+ paths:
+ - coverage/index.html
+ - coverage/assets/
+
+
# Notify slack in the end
notify:slack:
@@ -258,3 +259,17 @@ notify:slack:
- tags@gitlab-org/gitlab-ce
- master@gitlab-org/gitlab-ee
- tags@gitlab-org/gitlab-ee
+
+pages:
+ before_script: []
+ services: []
+ variables: {}
+ stage: pages
+ dependencies:
+ - coverage
+ script:
+ - mkdir -p public/coverage-ruby
+ - mv coverage public/coverage-ruby
+ artifacts:
+ paths:
+ - public