We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a616d2 commit 8308b87Copy full SHA for 8308b87
.travis.yml
@@ -1,6 +1,8 @@
1
+sudo: false
2
language: node_js
3
node_js:
4
- iojs
5
- 0.12
6
- 0.10
7
+script: npm run cover
8
after_success: cat coverage/lcov.info | node_modules/.bin/coveralls --verbose
package.json
@@ -24,8 +24,10 @@
24
"scripts": {
25
"clean": "rimraf coverage/",
26
"lint": "jscs index.js test/ & jshint index.js test/",
27
- "pretest": "npm run clean && npm run lint",
28
- "test": "istanbul cover _mocha"
+ "pretest": "npm run lint",
+ "test": "mocha",
29
+ "precover": "npm run lint && npm run clean",
30
+ "cover": "istanbul cover _mocha"
31
},
32
"repository": {
33
"type": "git",
0 commit comments