Преглед изворни кода

Fix travis coverage reporting maybe

Matt Coles пре 9 година
родитељ
комит
9c10d47688
3 измењених фајлова са 4 додато и 1 уклоњено
  1. 1 0
      .gitignore
  2. 2 0
      .travis.yml
  3. 1 1
      package.json

+ 1 - 0
.gitignore

@@ -1,4 +1,5 @@
1 1
 coverage/
2
+.coveralls.yml
2 3
 node_modules/
3 4
 debug.log
4 5
 logpasswd

+ 2 - 0
.travis.yml

@@ -3,3 +3,5 @@ node_js:
3 3
   - "5"
4 4
 services:
5 5
   - redis-server
6
+after_script:
7
+  - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage

+ 1 - 1
package.json

@@ -6,7 +6,7 @@
6 6
   "scripts": {
7 7
     "pretest": "istanbul cover index.js > debug.log &",
8 8
     "test": "sleep 2; node jasmine-runner.js; node utils/flushdb.js",
9
-    "posttest": "killall -2 node && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
9
+    "posttest": "killall -2 node"
10 10
   },
11 11
   "repository": {
12 12
     "type": "git",