Skip to content

Commit be58355

Browse files
committed
codecov
1 parent fd9f665 commit be58355

File tree

3 files changed

+37
-18
lines changed

3 files changed

+37
-18
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ before_script:
88

99
script:
1010
- yarn run lint
11-
- yarn run test
11+
- yarn run test
12+
- yarn run report-coverage

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
"scripts": {
3131
"test": "cross-env karma start test/karma.config.js",
3232
"test:watch": "cross-env karma start test/karma.config.js --single-run=false",
33-
"lint": "cross-env eslint --ext .js,.vue src spec"
33+
"lint": "cross-env eslint --ext .js,.vue src spec",
34+
"report-coverage": "codecov"
3435
},
3536
"devDependencies": {
3637
"avoriaz": "^2.4.2",
@@ -39,6 +40,7 @@
3940
"babel-plugin-istanbul": "^4.1.4",
4041
"babel-preset-latest": "^6.24.1",
4142
"chai": "^4.0.2",
43+
"codecov": "^2.2.0",
4244
"cross-env": "^5.0.1",
4345
"eslint": "^4.2.0",
4446
"eslint-plugin-vue": "beta",

yarn.lock

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ argparse@^1.0.7:
138138
dependencies:
139139
sprintf-js "~1.0.2"
140140

141+
argv@0.0.2:
142+
version "0.0.2"
143+
resolved "https://registry.yarnpkg.com/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab"
144+
141145
arr-diff@^2.0.0:
142146
version "2.0.0"
143147
resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf"
@@ -1058,6 +1062,14 @@ code-point-at@^1.0.0:
10581062
version "1.1.0"
10591063
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
10601064

1065+
codecov@^2.2.0:
1066+
version "2.2.0"
1067+
resolved "https://registry.yarnpkg.com/codecov/-/codecov-2.2.0.tgz#2d06817ceb8891eca6368836d4fb6bf6cc04ffd1"
1068+
dependencies:
1069+
argv "0.0.2"
1070+
request "2.79.0"
1071+
urlgrey "0.4.4"
1072+
10611073
color-convert@^1.0.0:
10621074
version "1.9.0"
10631075
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a"
@@ -3636,56 +3648,56 @@ request-progress@~2.0.1:
36363648
dependencies:
36373649
throttleit "^1.0.0"
36383650

3639-
request@^2.81.0:
3640-
version "2.81.0"
3641-
resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0"
3651+
request@2.79.0, request@~2.79.0:
3652+
version "2.79.0"
3653+
resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de"
36423654
dependencies:
36433655
aws-sign2 "~0.6.0"
36443656
aws4 "^1.2.1"
3645-
caseless "~0.12.0"
3657+
caseless "~0.11.0"
36463658
combined-stream "~1.0.5"
36473659
extend "~3.0.0"
36483660
forever-agent "~0.6.1"
36493661
form-data "~2.1.1"
3650-
har-validator "~4.2.1"
3662+
har-validator "~2.0.6"
36513663
hawk "~3.1.3"
36523664
http-signature "~1.1.0"
36533665
is-typedarray "~1.0.0"
36543666
isstream "~0.1.2"
36553667
json-stringify-safe "~5.0.1"
36563668
mime-types "~2.1.7"
36573669
oauth-sign "~0.8.1"
3658-
performance-now "^0.2.0"
3659-
qs "~6.4.0"
3660-
safe-buffer "^5.0.1"
3670+
qs "~6.3.0"
36613671
stringstream "~0.0.4"
36623672
tough-cookie "~2.3.0"
3663-
tunnel-agent "^0.6.0"
3673+
tunnel-agent "~0.4.1"
36643674
uuid "^3.0.0"
36653675

3666-
request@~2.79.0:
3667-
version "2.79.0"
3668-
resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de"
3676+
request@^2.81.0:
3677+
version "2.81.0"
3678+
resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0"
36693679
dependencies:
36703680
aws-sign2 "~0.6.0"
36713681
aws4 "^1.2.1"
3672-
caseless "~0.11.0"
3682+
caseless "~0.12.0"
36733683
combined-stream "~1.0.5"
36743684
extend "~3.0.0"
36753685
forever-agent "~0.6.1"
36763686
form-data "~2.1.1"
3677-
har-validator "~2.0.6"
3687+
har-validator "~4.2.1"
36783688
hawk "~3.1.3"
36793689
http-signature "~1.1.0"
36803690
is-typedarray "~1.0.0"
36813691
isstream "~0.1.2"
36823692
json-stringify-safe "~5.0.1"
36833693
mime-types "~2.1.7"
36843694
oauth-sign "~0.8.1"
3685-
qs "~6.3.0"
3695+
performance-now "^0.2.0"
3696+
qs "~6.4.0"
3697+
safe-buffer "^5.0.1"
36863698
stringstream "~0.0.4"
36873699
tough-cookie "~2.3.0"
3688-
tunnel-agent "~0.4.1"
3700+
tunnel-agent "^0.6.0"
36893701
uuid "^3.0.0"
36903702

36913703
require-directory@^2.1.1:
@@ -4257,6 +4269,10 @@ url@^0.11.0:
42574269
punycode "1.3.2"
42584270
querystring "0.2.0"
42594271

4272+
urlgrey@0.4.4:
4273+
version "0.4.4"
4274+
resolved "https://registry.yarnpkg.com/urlgrey/-/urlgrey-0.4.4.tgz#892fe95960805e85519f1cd4389f2cb4cbb7652f"
4275+
42604276
useragent@^2.1.12:
42614277
version "2.2.0"
42624278
resolved "https://registry.yarnpkg.com/useragent/-/useragent-2.2.0.tgz#ef85f41903cfd05e2ba8c11ae61249c7a6bbf663"

0 commit comments

Comments
 (0)