Skip to content

Commit

Permalink
Added coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthers committed Jul 20, 2017
1 parent e72cfa7 commit d6973c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ node_js:
- "8"
before_script:
- npm install -g eslint
after_success:
- npm run coverage
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"test": "eslint '.' && nyc --reporter=html --reporter=text mocha",
"lint": "eslint '.'"
"lint": "eslint '.'",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"keywords": [
"gics",
Expand All @@ -21,11 +22,10 @@
"devDependencies": {
"chai": "^4.1.0",
"chai-things": "^0.2.0",
"coveralls": "^2.13.1",
"csv-parse": "^1.2.0",
"mocha": "^3.4.2",
"nyc": "^11.0.3"
},
"dependencies": {

}
"dependencies": {}
}

0 comments on commit d6973c2

Please sign in to comment.