Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Commit

Permalink
add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Stropho committed Nov 1, 2017
1 parent 89729c8 commit dc082bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ node_js:
- '5'
matrix:
fast_finish: true
script: npm run coveralls
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"scripts": {
"build": "gulp build",
"coverage": "babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha --report html --check-coverage -- --timeout 5000 -u tdd --recursive ./test",
"coveralls": "babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha --report lcovonly --check-coverage -- --timeout 5000 -u tdd --recursive ./test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"lint:src": "eslint src",
"lint:test": "eslint test",
"lint": "npm run lint:src && npm run lint:test",
Expand All @@ -52,6 +53,7 @@
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.0",
"chai": "^3.5.0",
"coveralls": "^3.0.0",
"del": "^2.2.2",
"eslint": "^4.10.0",
"eslint-config-idiomatic": "^4.0.0",
Expand Down

0 comments on commit dc082bb

Please sign in to comment.