Skip to content

Commit

Permalink
travis: separate tests for globals & combine coverages
Browse files Browse the repository at this point in the history
  • Loading branch information
kayomarz committed Dec 21, 2015
1 parent 3a22c5c commit c001d96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ node_js:
- "0.12"
- "0.11"
- "0.10"
script:
- npm run test
- npm run test-preserve-arrays
after_success: 'npm run coveralls'
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
"url": "https://github.com/kayomarz/dynamodb-data-types.git"
},
"scripts": {
"test": "istanbul cover --include-all-sources --root lib jasmine-node tests/spec",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
"test": "istanbul cover --include-all-sources --dir coverage/spec --root lib jasmine-node tests/spec",
"test-preserve-arrays": "istanbul cover --include-all-sources --dir coverage/spec-preserve-arrays --root lib jasmine-node tests/spec-preserve-arrays",
"coveralls": "istanbul report && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"keywords": [
"amazon",
Expand Down

0 comments on commit c001d96

Please sign in to comment.