about summary refs log tree commit diff
path: root/.circleci
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-31 12:05:07 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-31 12:05:07 +0200
commit1922679f73fb017e34517bc6e7aa61e100bdfb8f (patch)
treec096ded831d604644dbf473ea4d06b49c3d70cba /.circleci
parentb259358616b5ca56e19b758b1f86ce2421f52c06 (diff)
downloadpuszcza-1922679f73fb017e34517bc6e7aa61e100bdfb8f.tar.gz
puszcza-1922679f73fb017e34517bc6e7aa61e100bdfb8f.zip
Add coverage to ci
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 451b37e..378162a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -22,7 +22,7 @@ jobs:
             # fallback to using the latest cache if no exact match is found
             - v1-dependencies-
 
-      - run: npm install
+      - run: npm install && npm install -g coveralls
 
       - save_cache:
           paths:
@@ -31,3 +31,6 @@ jobs:
 
       # run tests!
       - run: npm test
+
+      # upload coverage
+      - run: jest --coverage --coverageReporters=text-lcov | coveralls