Skip to content

Commit

Permalink
Add support Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Thadeu Cotts committed Oct 16, 2017
1 parent a1af1e4 commit 5b99cd3
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ before_script:
- npm run build

after_success:
- npm run test:coverage
- npm run coveralls
33 changes: 33 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"prepush": "npm run lint",
"test": "./node_modules/.bin/mocha tests/**/*.spec.js --compilers js:babel-core/register --require babel-polyfill",
"test:tdd": "npm run test -- --watch",
"test:coverage": "nyc npm test"
"test:coverage": "nyc npm test",
"coveralls" : "npm run test:coverage && nyc report --reporter=text-lcov | coveralls"
},
"preferGlobal": true,
"files": [
Expand Down Expand Up @@ -46,6 +47,7 @@
"babel-preset-env": "^1.3.2",
"babel-register": "^6.24.0",
"chai": "^3.5.0",
"coveralls": "^3.0.0",
"eslint": "^4.8.0",
"eslint-config-airbnb-base": "^12.0.2",
"eslint-plugin-chai-friendly": "^0.4.0",
Expand Down

0 comments on commit 5b99cd3

Please sign in to comment.