Skip to content

Commit c1ec6c3

Browse files
committed
ci(travis): use codecov instead of coveralls
1 parent deef956 commit c1ec6c3

File tree

3 files changed

+39
-39
lines changed

3 files changed

+39
-39
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ node_js:
1111
before_script:
1212
- npm prune
1313
script:
14-
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
14+
- npm run codecov
1515
after_success:
1616
- npm run semantic-release
1717
branches:

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"build": "rimraf lib && babel src --out-dir lib",
1616
"test": "NODE_ENV=production BABEL_ENV=test nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
1717
"test:watch": "mocha --watch $npm_package_config_mocha",
18+
"codecov": "nyc report --reporter=text-lcov > coverage.lcov; codecov",
1819
"commitmsg": "validate-commit-msg",
1920
"precommit": "npm run lint && flow",
2021
"prepush": "npm test",
@@ -66,7 +67,6 @@
6667
"babel-runtime": "^6.23.0",
6768
"chai": "^3.5.0",
6869
"copy": "^0.3.0",
69-
"coveralls": "^2.11.16",
7070
"eslint": "^3.15.0",
7171
"eslint-plugin-flowtype": "^2.30.0",
7272
"eslint-watch": "^3.0.0",
@@ -80,5 +80,7 @@
8080
"semantic-release": "^6.3.6",
8181
"validate-commit-msg": "^2.11.1"
8282
},
83-
"dependencies": {}
83+
"dependencies": {
84+
"codecov": "^2.3.0"
85+
}
8486
}

yarn.lock

Lines changed: 34 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ argparse@^1.0.7:
158158
dependencies:
159159
sprintf-js "~1.0.2"
160160

161+
argv@0.0.2:
162+
version "0.0.2"
163+
resolved "https://registry.npmjs.org/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab"
164+
161165
arr-diff@^2.0.0:
162166
version "2.0.0"
163167
resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf"
@@ -1084,6 +1088,14 @@ code-point-at@^1.0.0:
10841088
version "1.1.0"
10851089
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
10861090

1091+
codecov@^2.3.0:
1092+
version "2.3.0"
1093+
resolved "https://registry.npmjs.org/codecov/-/codecov-2.3.0.tgz#ad25a2c6e0442d13740d9d4ddbb9a3e2714330f4"
1094+
dependencies:
1095+
argv "0.0.2"
1096+
request "2.81.0"
1097+
urlgrey "0.4.4"
1098+
10871099
colors@~0.6.0-1:
10881100
version "0.6.2"
10891101
resolved "https://registry.yarnpkg.com/colors/-/colors-0.6.2.tgz#2423fe6678ac0c5dae8852e5d0e5be08c997abcc"
@@ -1189,16 +1201,6 @@ core-util-is@^1.0.1, core-util-is@~1.0.0:
11891201
version "1.0.2"
11901202
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
11911203

1192-
coveralls@^2.11.16:
1193-
version "2.13.0"
1194-
resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-2.13.0.tgz#df933876e8c6f478efb04f4d3ab70dc96b7e5a8e"
1195-
dependencies:
1196-
js-yaml "3.6.1"
1197-
lcov-parse "0.0.10"
1198-
log-driver "1.2.5"
1199-
minimist "1.2.0"
1200-
request "2.79.0"
1201-
12021204
cross-spawn@^4:
12031205
version "4.0.2"
12041206
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41"
@@ -2453,7 +2455,7 @@ js-tokens@^3.0.0:
24532455
version "3.0.1"
24542456
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7"
24552457

2456-
js-yaml@3.6.1, js-yaml@3.x, js-yaml@^3.5.1:
2458+
js-yaml@3.x, js-yaml@^3.5.1:
24572459
version "3.6.1"
24582460
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.6.1.tgz#6e5fe67d8b205ce4d22fad05b7781e8dadcc4b30"
24592461
dependencies:
@@ -2547,10 +2549,6 @@ lcid@^1.0.0:
25472549
dependencies:
25482550
invert-kv "^1.0.0"
25492551

2550-
lcov-parse@0.0.10:
2551-
version "0.0.10"
2552-
resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-0.0.10.tgz#1b0b8ff9ac9c7889250582b70b71315d9da6d9a3"
2553-
25542552
levn@^0.3.0, levn@~0.3.0:
25552553
version "0.3.0"
25562554
resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee"
@@ -2677,10 +2675,6 @@ lodash@~1.3.1:
26772675
version "1.3.1"
26782676
resolved "https://registry.yarnpkg.com/lodash/-/lodash-1.3.1.tgz#a4663b53686b895ff074e2ba504dfb76a8e2b770"
26792677

2680-
log-driver@1.2.5:
2681-
version "1.2.5"
2682-
resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.5.tgz#7ae4ec257302fd790d557cb10c97100d857b0056"
2683-
26842678
log-ok@^0.1.1:
26852679
version "0.1.1"
26862680
resolved "https://registry.yarnpkg.com/log-ok/-/log-ok-0.1.1.tgz#bea3dd36acd0b8a7240d78736b5b97c65444a334"
@@ -2811,7 +2805,7 @@ minimist@0.0.8, minimist@~0.0.1:
28112805
version "0.0.8"
28122806
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
28132807

2814-
minimist@1.2.0, minimist@^1.1.3, minimist@^1.2.0:
2808+
minimist@^1.1.3, minimist@^1.2.0:
28152809
version "1.2.0"
28162810
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
28172811

@@ -3467,56 +3461,56 @@ request-promise@^4.1.1:
34673461
request-promise-core "1.1.1"
34683462
stealthy-require "^1.0.0"
34693463

3470-
request@2.79.0, request@^2.74.0, request@^2.78.0:
3471-
version "2.79.0"
3472-
resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de"
3464+
request@2.81.0, request@^2.81.0:
3465+
version "2.81.0"
3466+
resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0"
34733467
dependencies:
34743468
aws-sign2 "~0.6.0"
34753469
aws4 "^1.2.1"
3476-
caseless "~0.11.0"
3470+
caseless "~0.12.0"
34773471
combined-stream "~1.0.5"
34783472
extend "~3.0.0"
34793473
forever-agent "~0.6.1"
34803474
form-data "~2.1.1"
3481-
har-validator "~2.0.6"
3475+
har-validator "~4.2.1"
34823476
hawk "~3.1.3"
34833477
http-signature "~1.1.0"
34843478
is-typedarray "~1.0.0"
34853479
isstream "~0.1.2"
34863480
json-stringify-safe "~5.0.1"
34873481
mime-types "~2.1.7"
34883482
oauth-sign "~0.8.1"
3489-
qs "~6.3.0"
3483+
performance-now "^0.2.0"
3484+
qs "~6.4.0"
3485+
safe-buffer "^5.0.1"
34903486
stringstream "~0.0.4"
34913487
tough-cookie "~2.3.0"
3492-
tunnel-agent "~0.4.1"
3488+
tunnel-agent "^0.6.0"
34933489
uuid "^3.0.0"
34943490

3495-
request@^2.81.0:
3496-
version "2.81.0"
3497-
resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0"
3491+
request@^2.74.0, request@^2.78.0:
3492+
version "2.79.0"
3493+
resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de"
34983494
dependencies:
34993495
aws-sign2 "~0.6.0"
35003496
aws4 "^1.2.1"
3501-
caseless "~0.12.0"
3497+
caseless "~0.11.0"
35023498
combined-stream "~1.0.5"
35033499
extend "~3.0.0"
35043500
forever-agent "~0.6.1"
35053501
form-data "~2.1.1"
3506-
har-validator "~4.2.1"
3502+
har-validator "~2.0.6"
35073503
hawk "~3.1.3"
35083504
http-signature "~1.1.0"
35093505
is-typedarray "~1.0.0"
35103506
isstream "~0.1.2"
35113507
json-stringify-safe "~5.0.1"
35123508
mime-types "~2.1.7"
35133509
oauth-sign "~0.8.1"
3514-
performance-now "^0.2.0"
3515-
qs "~6.4.0"
3516-
safe-buffer "^5.0.1"
3510+
qs "~6.3.0"
35173511
stringstream "~0.0.4"
35183512
tough-cookie "~2.3.0"
3519-
tunnel-agent "^0.6.0"
3513+
tunnel-agent "~0.4.1"
35203514
uuid "^3.0.0"
35213515

35223516
request@~2.74.0:
@@ -4107,6 +4101,10 @@ update-notifier@0.5.0:
41074101
semver-diff "^2.0.0"
41084102
string-length "^1.0.0"
41094103

4104+
urlgrey@0.4.4:
4105+
version "0.4.4"
4106+
resolved "https://registry.npmjs.org/urlgrey/-/urlgrey-0.4.4.tgz#892fe95960805e85519f1cd4389f2cb4cbb7652f"
4107+
41104108
user-home@^1.1.1:
41114109
version "1.1.1"
41124110
resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190"

0 commit comments

Comments
 (0)