From bb9d5e38fa7dc26fe864a6ab9680dbbb47ea45ad Mon Sep 17 00:00:00 2001 From: Tyler Long Date: Fri, 9 Mar 2018 14:11:51 +0800 Subject: [PATCH] Fix coveralls issue --- .travis.yml | 5 +---- package.json | 3 ++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c51b84d55..62e55a95c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/package.json b/package.json index ecaccb0327..8a6c11a62e 100644 --- a/package.json +++ b/package.json @@ -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",