Skip to content

Commit

Permalink
adding coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
beeraman committed May 12, 2018
1 parent b6ea3ba commit 3d7804b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
node_modules
coverage
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ install:
- npm install

script:
- npm test
- npm run cover

# Send coverage data to Coveralls
after_script: "cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js"
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@
"node": ">=4.2.4"
},
"scripts": {
"test": "mocha --reporter spec"
"test": "mocha --reporter spec",
"cover": "istanbul cover node_modules/mocha/bin/_mocha"
},
"author": "Anell Kumarr Beeram <anellkumarrbeeram@gmail.com>",
"license": "ISC",
"devDependencies": {
"chai": "^4.1.2",
"coveralls": "^3.0.1",
"istanbul": "^0.4.5",
"mocha": "^5.1.1"
}
}
File renamed without changes.

0 comments on commit 3d7804b

Please sign in to comment.