Skip to content

Commit

Permalink
added coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
deyhle committed Aug 3, 2015
1 parent e7e40b5 commit ce5e4d7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
language: node_js
node_js:
- "0.12"
- "iojs"
- "iojs"
script: "npm run-script test-travis"
# Send coverage data to Coveralls
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ MIT © [entrecode GmbH](https://entrecode.de)

[npm-image]: https://badge.fury.io/js/shiro-trie.svg
[npm-url]: https://npmjs.org/package/shiro-trie
[travis-image]: https://travis-ci.org/entrecode/shiro-trie.svg?branch=master
[travis-url]: https://travis-ci.org/entrecode/shiro-trie
[travis-image]: https://travis-ci.org/entrecode/node-shiro-trie.svg?branch=master
[travis-url]: https://travis-ci.org/entrecode/node-shiro-trie
[daviddm-image]: https://david-dm.org/entrecode/shiro-trie.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/entrecode/shiro-trie
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,21 @@
},
"devDependencies": {
"chai": "^3.2.0",
"coveralls": "^2.11.3",
"grunt-cli": "^0.1.13",
"grunt-contrib-jshint": "^0.11.0",
"grunt-contrib-nodeunit": "^0.4.1",
"grunt-contrib-watch": "^0.6.1",
"grunt-mocha-cli": "^1.12.0",
"istanbul": "^0.3.17",
"jshint-stylish": "^1.0.1",
"load-grunt-tasks": "^3.1.0",
"mocha": "^2.2.5",
"mocha-lcov-reporter": "0.0.2",
"time-grunt": "^1.1.0"
},
"scripts": {
"test": "./node_modules/mocha/bin/mocha"
"test": "./node_modules/mocha/bin/mocha ./test/*",
"test-travis": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- -R spec ./test/*"
}
}

0 comments on commit ce5e4d7

Please sign in to comment.