Skip to content

Commit

Permalink
👷 Add Coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumolari committed Oct 9, 2018
1 parent 148547c commit 14d1395
Show file tree
Hide file tree
Showing 4 changed files with 1,328 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.nyc_output
node_modules
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ cache:

script:
- yarn test

after_success: yarn coverage
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"author": "Geoblink",
"scripts": {
"test": "mocha"
"test": "nyc mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"keywords": [
"lodash",
Expand All @@ -15,13 +16,16 @@
"license": "MIT",
"devDependencies": {
"chai": "^4.2.0",
"coveralls": "^3.0.2",
"eslint": "^5.6.1",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^13.0.1",
"sinon": "^6.3.5",
"sinon-chai": "^3.2.0"
},
Expand Down
Loading

0 comments on commit 14d1395

Please sign in to comment.