Permalink
Browse files

sending coverage info to coveralls on travis success

  • Loading branch information...
bahmutov committed Feb 22, 2014
1 parent bbf23b8 commit ecac8911d9948df4d0e267e5eb919134a7c820ea
Showing with 6 additions and 4 deletions.
  1. +3 −1 .travis.yml
  2. +3 −3 package.json
View
@@ -5,4 +5,6 @@ branches:
only:
- master
before_script:
- - npm install -g grunt-cli
+ - npm install -g grunt-cli
+after_success:
+ - npm run coveralls
View
@@ -43,8 +43,8 @@
"url": "https://github.com/bahmutov/qunit-promises.git"
},
"scripts": {
- "test": "grunt && npm run gt && npm run coveralls",
+ "test": "grunt && npm run gt",
"gt": "node ./node_modules/gt qunit-promises.js test/node-tests.js --output",
- "coveralls": "cat cover/lcov.info | ./node_modules/coveralls/bin/coveralls.js &"
+ "coveralls": "cat cover/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
}
-}
+}

0 comments on commit ecac891

Please sign in to comment.