Skip to content

Commit

Permalink
Added .istanbul.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnns committed May 20, 2014
1 parent e7312c1 commit e5a33bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .istanbul.yml
@@ -0,0 +1,2 @@
instrumentation:
excludes: ['lib/phantom/**']
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -8,4 +8,4 @@ script:
after_success:
- npm install -g istanbul
- npm install coveralls
- istanbul cover -x lib/phantom/* ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -5,7 +5,7 @@
"main": "./lib/main.js",
"scripts": {
"test": "node node_modules/mocha/bin/mocha -R spec",
"coverage": "istanbul cover -x lib/phantom/* ./node_modules/mocha/bin/_mocha"
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha"
},
"keywords": [
"phantom",
Expand Down

0 comments on commit e5a33bc

Please sign in to comment.