Skip to content

Commit

Permalink
Gets coveralls integrated into the repo and via travis
Browse files Browse the repository at this point in the history
  • Loading branch information
l12s committed Feb 15, 2016
1 parent 28b7ae6 commit 1d9bc3f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.idea
npm-debug.log
coverage
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ node_js:
- "0.12"
- "4"
- "5"
after_success:
- npm run coveralls
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"main": "./index",
"scripts": {
"lint": "eslint . --ignore-path .gitignore",
"test": "mocha --recursive --reporter spec test"
"test": "mocha --recursive --reporter spec test",
"cover": "istanbul cover --report lcovonly _mocha -- --recursive",
"coveralls": "npm run cover && istanbul-coveralls"
},
"keywords": [
"slack"
Expand Down Expand Up @@ -33,9 +35,13 @@
},
"devDependencies": {
"chai": "^3.3.0",
"coveralls": "^2.11.6",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^3.0.1",
"istanbul": "^0.4.2",
"istanbul-coveralls": "^1.0.3",
"mocha": "~2.3.3",
"mocha-lcov-reporter": "^1.0.0",
"nock": "^2.15.0",
"sinon": "^1.17.1"
},
Expand Down

0 comments on commit 1d9bc3f

Please sign in to comment.