Skip to content

Commit

Permalink
Added istanbul and updated travis.yml #11
Browse files Browse the repository at this point in the history
  • Loading branch information
sthzg authored and sthzg committed Jul 8, 2016
1 parent ebebe9e commit 8b8ad87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: node_js
node_js:
- "6.2"
script: npm run-script test:travis
after_success:
- coveralls
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"coveralls": "^2.11.9",
"fs-extra": "^0.30.0",
"generator-yoburger": "0.0.3",
"istanbul": "^0.4.4",
"mocha": "^2.5.3",
"mocha-lcov-reporter": "^1.2.0",
"mock-fs": "^3.9.0",
Expand All @@ -42,6 +43,8 @@
"scripts": {
"test": "mocha",
"test:watch": "mocha -w",
"test:coverage": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly && rm -rf ./coverage",
"test:travis": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"release:major": "npm version prerelease && git push --follow-tags && npm publish --tag poc",
"release:minor": "npm version prerelease && git push --follow-tags && npm publish --tag poc",
"release:patch": "npm version prerelease && git push --follow-tags && npm publish --tag poc"
Expand Down

0 comments on commit 8b8ad87

Please sign in to comment.