Skip to content
This repository was archived by the owner on Apr 4, 2022. It is now read-only.

Commit efe6985

Browse files
committed
👷 Added codecov-CI
1 parent 41949f2 commit efe6985

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
node_modules
33
dist
44
docs
5+
coverage

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@ language: node_js
22
node_js:
33
- node
44

5+
install:
6+
- npm install -g codecov
7+
58
before_script:
69
- npm install
710
- npm run build
811

912
script:
1013
- npm run lint
11-
- npm run test
14+
- npm run test:collect
15+
- codecov
1216

1317
after_success:
1418
- npm run prettier:format

README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![Build Status](https://travis-ci.com/Veake/vuex-multi-history.svg?token=Bg4GBGTdq9xroxnkokv8&branch=master)](https://travis-ci.com/Veake/vuex-multi-history)
44
[![npm version](https://badge.fury.io/js/vuex-multi-history.svg)](https://badge.fury.io/js/vuex-multi-history)
5+
[![codecov](https://codecov.io/gh/Veake/vuex-multi-history/branch/master/graph/badge.svg)](https://codecov.io/gh/Veake/vuex-multi-history)
56

67
Multiple histories for Vuex
78

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![Build Status](https://travis-ci.com/Veake/vuex-multi-history.svg?token=Bg4GBGTdq9xroxnkokv8&branch=master)](https://travis-ci.com/Veake/vuex-multi-history)
44
[![npm version](https://badge.fury.io/js/vuex-multi-history.svg)](https://badge.fury.io/js/vuex-multi-history)
5+
[![codecov](https://codecov.io/gh/Veake/vuex-multi-history/branch/master/graph/badge.svg)](https://codecov.io/gh/Veake/vuex-multi-history)
56

67
Multiple histories for Vuex
78

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"build": "webpack",
99
"watch": "webpack --watch",
1010
"test": "jest",
11+
"test:collect": "jest --coverage",
1112
"lint": "tslint --project .",
1213
"lint:fix": "tslint --project . --fix",
1314
"prettier:check": "prettier --check src/**/*.{ts,vue,json}",

0 commit comments

Comments
 (0)