Skip to content

Commit 06800bf

Browse files
authored
fix coveralls coverage reporter (sagalbot#766)
* add coveralls coverage reporter * include lcov report * bump config * bump travis config * bump netlify config
1 parent 4d7d576 commit 06800bf

File tree

4 files changed

+33
-18
lines changed

4 files changed

+33
-18
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
language: node_js
22
node_js:
33
- node
4+
cache:
5+
directories:
6+
- node_modules
47
script:
5-
- yarn test | coveralls
8+
- yarn test --coverage --coverageReporters=text-lcov | coveralls

netlify.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,5 @@
44
# “command” is your build command,
55

66
[build]
7-
publish = "dev/dist"
8-
command = "yarn build:dev"
9-
10-
# Production context: All deploys to the main
11-
# repository branch will inherit these settings.
12-
[context.branch-site]
137
publish = "docs/.vuepress/dist"
148
command = "yarn build:docs"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"babel-core": "^7.0.0-bridge.0",
3535
"babel-loader": "^8.0.0",
3636
"chokidar": "^2.0.4",
37+
"coveralls": "^3.0.2",
3738
"cross-env": "^5.2.0",
3839
"css-loader": "^1.0.0",
3940
"eventsource-polyfill": "^0.9.6",

yarn.lock

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3464,6 +3464,18 @@ cosmiconfig@^5.0.0, cosmiconfig@^5.0.2:
34643464
js-yaml "^3.9.0"
34653465
parse-json "^4.0.0"
34663466

3467+
coveralls@^3.0.2:
3468+
version "3.0.2"
3469+
resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.0.2.tgz#f5a0bcd90ca4e64e088b710fa8dda640aea4884f"
3470+
integrity sha512-Tv0LKe/MkBOilH2v7WBiTBdudg2ChfGbdXafc/s330djpF3zKOmuehTeRwjXWc7pzfj9FrDUTA7tEx6Div8NFw==
3471+
dependencies:
3472+
growl "~> 1.10.0"
3473+
js-yaml "^3.11.0"
3474+
lcov-parse "^0.0.10"
3475+
log-driver "^1.2.7"
3476+
minimist "^1.2.0"
3477+
request "^2.85.0"
3478+
34673479
create-ecdh@^4.0.0:
34683480
version "4.0.3"
34693481
resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff"
@@ -5410,6 +5422,11 @@ gray-matter@^4.0.1:
54105422
section-matter "^1.0.0"
54115423
strip-bom-string "^1.0.0"
54125424

5425+
"growl@~> 1.10.0":
5426+
version "1.10.5"
5427+
resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"
5428+
integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==
5429+
54135430
growly@^1.3.0:
54145431
version "1.3.0"
54155432
resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
@@ -6933,11 +6950,6 @@ jsesc@~0.5.0:
69336950
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d"
69346951
integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=
69356952

6936-
json-loader@^0.5.0:
6937-
version "0.5.7"
6938-
resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d"
6939-
integrity sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w==
6940-
69416953
json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2:
69426954
version "1.0.2"
69436955
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
@@ -7196,6 +7208,11 @@ lcid@^2.0.0:
71967208
dependencies:
71977209
invert-kv "^2.0.0"
71987210

7211+
lcov-parse@^0.0.10:
7212+
version "0.0.10"
7213+
resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-0.0.10.tgz#1b0b8ff9ac9c7889250582b70b71315d9da6d9a3"
7214+
integrity sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=
7215+
71997216
left-pad@^1.3.0:
72007217
version "1.3.0"
72017218
resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e"
@@ -7542,6 +7559,11 @@ lodash@4.x, lodash@^4.0.0, lodash@^4.13.1, lodash@^4.17.10, lodash@^4.17.11, lod
75427559
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
75437560
integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==
75447561

7562+
log-driver@^1.2.7:
7563+
version "1.2.7"
7564+
resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8"
7565+
integrity sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==
7566+
75457567
log-symbols@^2.1.0, log-symbols@^2.2.0:
75467568
version "2.2.0"
75477569
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
@@ -8398,11 +8420,6 @@ normalize-url@^3.0.0:
83988420
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559"
83998421
integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==
84008422

8401-
normalize.css@^8.0.0:
8402-
version "8.0.1"
8403-
resolved "https://registry.yarnpkg.com/normalize.css/-/normalize.css-8.0.1.tgz#9b98a208738b9cc2634caacbc42d131c97487bf3"
8404-
integrity sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg==
8405-
84068423
npm-bundled@^1.0.1:
84078424
version "1.0.6"
84088425
resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd"
@@ -10192,7 +10209,7 @@ request-promise-native@^1.0.5:
1019210209
stealthy-require "^1.1.0"
1019310210
tough-cookie ">=2.3.3"
1019410211

10195-
request@^2.87.0, request@^2.88.0:
10212+
request@^2.85.0, request@^2.87.0, request@^2.88.0:
1019610213
version "2.88.0"
1019710214
resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
1019810215
integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==

0 commit comments

Comments
 (0)