diff --git a/.travis.yml b/.travis.yml index c486d3b..bba335e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,3 +5,5 @@ language: node_js node_js: - "7" - "6" +after_success: + - npm run coverall diff --git a/package.json b/package.json index cf6750a..a9adb76 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "unit:watch": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --watch", "e2e": "node test/e2e/runner.js", "test": "npm run unit", - "lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs" + "lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs", + "coverall": "cat ./test/unit/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" }, "keywords": [ "vue",