Fix coveralls issue

This commit is contained in:
Tyler Long 2018-03-09 14:11:51 +08:00
parent bb365ca1b5
commit bb9d5e38fa
2 changed files with 3 additions and 5 deletions

View File

@ -2,10 +2,7 @@ dist: trusty
language: node_js
node_js:
- "8"
addons:
code_climate:
repo_token: e87e6bf1c253e0555437ebd23235fdfe2749b889358e7c6d100e4ea5b4f2e091
script:
- yarn test
after_script:
- cat coverage/lcov.info | coveralls
- yarn coveralls

View File

@ -22,7 +22,8 @@
"test": "yarn lint && yarn karma",
"jison": "node -r babel-register node_modules/.bin/gulp jison",
"prepublishOnly": "yarn build && yarn release && yarn test",
"prepush": "yarn test"
"prepush": "yarn test",
"coveralls": "cat coverage/lcov.info | coveralls"
},
"repository": {
"type": "git",