Skip to content

Commit

Permalink
Track code coverage with coveralls.io.
Browse files Browse the repository at this point in the history
  • Loading branch information
ariya committed Jun 22, 2015
1 parent df4323f commit 6600285
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
sudo: false
language: node_js
install: "npm update -g npm; npm install"
script: "npm run travis"
node_js:
- iojs
- "0.12"
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"regenerate": "~0.6.2",
"unicode-7.0.0": "~0.1.5",
"json-diff": "~0.3.1",
"optimist": "~0.6.0"
"optimist": "~0.6.0",
"coveralls": "~2.11.2"
},
"keywords": [
"ast",
Expand All @@ -69,6 +70,8 @@
"check-coverage": "istanbul check-coverage --statement 100 --branch 100 --function 100",

"benchmark": "node test/benchmarks.js",
"benchmark-quick": "node test/benchmarks.js quick"
"benchmark-quick": "node test/benchmarks.js quick",

"travis": "npm test && coveralls < ./coverage/lcov.info"
}
}

0 comments on commit 6600285

Please sign in to comment.