Skip to content

Commit ea9468b

Browse files
committed
chore: replace coveralls with codecov (#63)
chore: replace coveralls with codecov
1 parent b9864c6 commit ea9468b

File tree

5 files changed

+59
-40
lines changed

5 files changed

+59
-40
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,5 @@ before_script:
3434

3535
script:
3636
- yarn lint
37-
- yarn test -i
37+
- yarn test -i && yarn codecov
3838
- yarn cypress run --browser chrome --config watchForFileChanges=false
39-
40-
after_success: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

jest.config.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
bail: true,
3+
verbose: !process.env.CI,
4+
collectCoverage: !!process.env.CI,
5+
collectCoverageFrom: [
6+
'lib/core/*.js',
7+
],
8+
testPathIgnorePatterns: [
9+
'/node_modules/',
10+
'/__fixtures__/',
11+
'/cypress/',
12+
],
13+
};

jest.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A JSDoc plugin for documenting .vue files.",
55
"main": "index.js",
66
"scripts": {
7-
"test": "jest --config jest.json",
7+
"test": "jest",
88
"lint": "eslint --ext .js index.js config.js lib __tests__ cypress"
99
},
1010
"repository": {
@@ -28,7 +28,7 @@
2828
},
2929
"devDependencies": {
3030
"cheerio": "^1.0.0-rc.2",
31-
"coveralls": "^3.0.0",
31+
"codecov": "^3.0.2",
3232
"cypress": "^3.0.1",
3333
"eslint": "^4.19.1",
3434
"eslint-config-airbnb-base": "^12.1.0",

yarn.lock

Lines changed: 43 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ argparse@^1.0.7:
214214
dependencies:
215215
sprintf-js "~1.0.2"
216216

217+
argv@0.0.2:
218+
version "0.0.2"
219+
resolved "https://registry.yarnpkg.com/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab"
220+
217221
arr-diff@^2.0.0:
218222
version "2.0.0"
219223
resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf"
@@ -658,6 +662,14 @@ code-point-at@^1.0.0:
658662
version "1.1.0"
659663
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
660664

665+
codecov@^3.0.2:
666+
version "3.0.2"
667+
resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.0.2.tgz#aea43843a5cd2fb6b7e488b2eff25d367ab70b12"
668+
dependencies:
669+
argv "0.0.2"
670+
request "^2.81.0"
671+
urlgrey "0.4.4"
672+
661673
color-convert@^1.9.0:
662674
version "1.9.0"
663675
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a"
@@ -720,16 +732,6 @@ core-util-is@1.0.2, core-util-is@~1.0.0:
720732
version "1.0.2"
721733
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
722734

723-
coveralls@^3.0.0:
724-
version "3.0.0"
725-
resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.0.0.tgz#22ef730330538080d29b8c151dc9146afde88a99"
726-
dependencies:
727-
js-yaml "^3.6.1"
728-
lcov-parse "^0.0.10"
729-
log-driver "^1.2.5"
730-
minimist "^1.2.0"
731-
request "^2.79.0"
732-
733735
cross-spawn@^5.0.1, cross-spawn@^5.1.0:
734736
version "5.1.0"
735737
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
@@ -2188,7 +2190,7 @@ js-tokens@^3.0.0, js-tokens@^3.0.2:
21882190
version "3.0.2"
21892191
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
21902192

2191-
js-yaml@^3.6.1, js-yaml@^3.7.0, js-yaml@^3.9.1:
2193+
js-yaml@^3.7.0, js-yaml@^3.9.1:
21922194
version "3.10.0"
21932195
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc"
21942196
dependencies:
@@ -2307,10 +2309,6 @@ lcid@^1.0.0:
23072309
dependencies:
23082310
invert-kv "^1.0.0"
23092311

2310-
lcov-parse@^0.0.10:
2311-
version "0.0.10"
2312-
resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-0.0.10.tgz#1b0b8ff9ac9c7889250582b70b71315d9da6d9a3"
2313-
23142312
left-pad@^1.2.0:
23152313
version "1.2.0"
23162314
resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.2.0.tgz#d30a73c6b8201d8f7d8e7956ba9616087a68e0ee"
@@ -2411,10 +2409,6 @@ lodash@4.17.4, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.4, l
24112409
version "4.17.4"
24122410
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
24132411

2414-
log-driver@^1.2.5:
2415-
version "1.2.5"
2416-
resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.5.tgz#7ae4ec257302fd790d557cb10c97100d857b0056"
2417-
24182412
log-symbols@2.2.0:
24192413
version "2.2.0"
24202414
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
@@ -3060,7 +3054,32 @@ request@2.81.0:
30603054
tunnel-agent "^0.6.0"
30613055
uuid "^3.0.0"
30623056

3063-
request@^2.79.0, request@^2.83.0:
3057+
request@^2.81.0:
3058+
version "2.87.0"
3059+
resolved "https://registry.yarnpkg.com/request/-/request-2.87.0.tgz#32f00235cd08d482b4d0d68db93a829c0ed5756e"
3060+
dependencies:
3061+
aws-sign2 "~0.7.0"
3062+
aws4 "^1.6.0"
3063+
caseless "~0.12.0"
3064+
combined-stream "~1.0.5"
3065+
extend "~3.0.1"
3066+
forever-agent "~0.6.1"
3067+
form-data "~2.3.1"
3068+
har-validator "~5.0.3"
3069+
http-signature "~1.2.0"
3070+
is-typedarray "~1.0.0"
3071+
isstream "~0.1.2"
3072+
json-stringify-safe "~5.0.1"
3073+
mime-types "~2.1.17"
3074+
oauth-sign "~0.8.2"
3075+
performance-now "^2.1.0"
3076+
qs "~6.5.1"
3077+
safe-buffer "^5.1.1"
3078+
tough-cookie "~2.3.3"
3079+
tunnel-agent "^0.6.0"
3080+
uuid "^3.1.0"
3081+
3082+
request@^2.83.0:
30643083
version "2.83.0"
30653084
resolved "https://registry.yarnpkg.com/request/-/request-2.83.0.tgz#ca0b65da02ed62935887808e6f510381034e3356"
30663085
dependencies:
@@ -3556,6 +3575,10 @@ url@0.11.0:
35563575
punycode "1.3.2"
35573576
querystring "0.2.0"
35583577

3578+
urlgrey@0.4.4:
3579+
version "0.4.4"
3580+
resolved "https://registry.yarnpkg.com/urlgrey/-/urlgrey-0.4.4.tgz#892fe95960805e85519f1cd4389f2cb4cbb7652f"
3581+
35593582
util-deprecate@~1.0.1:
35603583
version "1.0.2"
35613584
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"

0 commit comments

Comments
 (0)