Skip to content
This repository was archived by the owner on Feb 22, 2021. It is now read-only.

Commit dfdc66b

Browse files
committed
ci: update after script
1 parent 3917a8a commit dfdc66b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ install:
1717
script:
1818
- /bin/bash build/lint-commits.sh
1919
- npm run ex:build && npm run release
20+
21+
after_script:
22+
- npm run cover

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "commitlint.config.js",
66
"scripts": {
77
"test": "./node_modules/.bin/mocha",
8-
"cover": "./node_modules/.bin/nyc mocha",
8+
"cover": "./node_modules/.bin/nyc mocha && cat ./coverage/lcov.info | coveralls",
99
"ex": "tsc ./build/webpack.dev.ts && env DEBUG=true webpack-dev-server --config build/webpack.dev.js --inline --progress --port 1338 && npm run tsc:clean",
1010
"ex:build": "tsc ./build/webpack.prod.ts && rm -rf dist && webpack --config build/webpack.prod.js && npm run tsc:clean",
1111
"release": "tsc ./build/main/webpack.prod.ts && rm -rf release && webpack --config build/main/webpack.prod.js && npm run tsc:clean",
@@ -70,7 +70,6 @@
7070
"./node_modules/ts-node"
7171
],
7272
"reporter": [
73-
"html",
7473
"lcov",
7574
"text",
7675
"text-summary"

0 commit comments

Comments
 (0)