Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Added Coveralls testing
Browse files Browse the repository at this point in the history
  • Loading branch information
hmschreiner committed Jan 6, 2017
1 parent 6ab6b75 commit 244fcdd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ install:

script:
- npm test

after_success: 'npm run coveralls'
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "./dist/index.js",
"scripts": {
"test": "mocha test --timeout 15000 --compilers js:babel-core/register",
"build": "babel src --presets babel-preset-es2015 --out-dir dist"
"build": "babel src --presets babel-preset-es2015 --out-dir dist",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
},
"repository": {
"type": "git",
Expand All @@ -26,6 +27,8 @@
"babel-preset-es2015": "^6.18.0",
"babel-preset-stage-3": "^6.17.0",
"chai": "^3.5.0",
"coveralls": "^2.11.15",
"istanbul": "^0.4.5",
"mocha": "^3.2.0"
},
"dependencies": {
Expand Down

0 comments on commit 244fcdd

Please sign in to comment.