Run code coverage as part of CI. Add coverage/ dir to gitignore. 3/head
authorfilmaj <maj.fil@gmail.com>
Fri, 28 Jul 2017 18:36:03 +0000 (11:36 -0700)
committerfilmaj <maj.fil@gmail.com>
Fri, 28 Jul 2017 18:36:03 +0000 (11:36 -0700)
.gitignore
.travis.yml

index 3c3629e..ba2a97b 100644 (file)
@@ -1 +1,2 @@
 node_modules
+coverage
index 59fda3b..459273a 100644 (file)
@@ -6,6 +6,10 @@ node_js:
   - "4"
   - "6"
 install:
-  - "npm install"
+  - npm install
+  - npm install -g codecov
 script:
-  - "npm test"
+  - npm test
+  - npm run cover
+after_script:
+  - codecov