summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2016-07-01 17:29:25 +0200
committerwinniehell <git@winniehell.de>2016-08-07 21:52:37 +0200
commit5e1ac6275ffa292fe7f6b8b5b74d92b99385d7d5 (patch)
tree1cfc3301714800fc89ae2fb0e8ed077d441b84cf /.gitlab-ci.yml
parent91030230545a199a86c2742600a7a2e68ef75c98 (diff)
downloadgitlab-ce-5e1ac6275ffa292fe7f6b8b5b74d92b99385d7d5.tar.gz
Add test coverage analysis for CoffeeScript (!5052)
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8da9acf9066..5aff5078386 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -222,7 +222,15 @@ teaspoon:
stage: test
<<: *use-db
script:
+ - curl --silent --location https://deb.nodesource.com/setup_6.x | bash -
+ - apt-get install --assume-yes nodejs
+ - npm install --global istanbul
- teaspoon
+ artifacts:
+ name: coverage-javascript
+ expire_in: 31d
+ paths:
+ - coverage-javascript/default/
bundler:audit:
stage: test
@@ -269,10 +277,12 @@ pages:
stage: pages
dependencies:
- coverage
+ - teaspoon
script:
- mv public/ .public/
- mkdir public/
- mv coverage public/coverage-ruby
+ - mv coverage-javascript/default/ public/coverage-javascript/
artifacts:
paths:
- public