Skip to content

Commit

Permalink
Added coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
jussi-kalliokoski committed May 16, 2014
1 parent ff81001 commit d74cbd5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .coveralls.yml
@@ -0,0 +1 @@
service_name: travis-ci
2 changes: 2 additions & 0 deletions .travis.yml
@@ -1,3 +1,5 @@
language: node_js
node_js:
- "0.10"
after_success:
- npm run-script coveralls
1 change: 1 addition & 0 deletions README.md
@@ -1,5 +1,6 @@
# fixtures2js

[![Build Status](https://travis-ci.org/jussi-kalliokoski/fixtures2js.svg)](https://travis-ci.org/jussi-kalliokoski/fixtures2js)
[![Coverage Status](https://img.shields.io/coveralls/jussi-kalliokoski/fixtures2js.svg)](https://coveralls.io/r/jussi-kalliokoski/fixtures2js)

This is a shared library used by `grunt-fixtures2js` and `gulp-fixtures2js`.
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -7,6 +7,7 @@
"test": "test"
},
"scripts": {
"coveralls": "cat ./coverage/lcov.info | COVERALLS_SERVICE_NAME=\"travis-ci\" ./node_modules/.bin/coveralls",
"test": "./node_modules/.bin/istanbul cover _mocha -- -R spec"
},
"repository": {
Expand All @@ -29,7 +30,8 @@
"devDependencies": {
"chai": "^1.9.1",
"mocha": "^1.18.2",
"istanbul": "^0.2.7"
"istanbul": "^0.2.7",
"coveralls": "^2.10.0"
},
"dependencies": {
"minimatch": "^0.2.14",
Expand Down

0 comments on commit d74cbd5

Please sign in to comment.