Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit f8f5c64

Browse files
committed
Use codecov CLI
1 parent 901fba1 commit f8f5c64

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ script:
1313

1414
after_success:
1515
# Upload coverage to codecov
16-
- 'nyc report --reporter=lcov > coverage.lcov && bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info'
16+
- nyc report --reporter=lcov > coverage.lcov && codecov

appveyor.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,5 @@ test_script:
2020
- yarn run cover
2121

2222
after_test:
23-
- ps: |
24-
$env:PATH = 'C:\Program Files\Git\usr\bin;' + $env:PATH
25-
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
26-
bash codecov.sh -f "coverage\lcov.info"
23+
# Upload coverge to codecov
24+
- node_modules\.bin\nyc report --reporter=lcov > coverage.lcov && node_modules\.bin\codecov

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"@types/mocha": "2.2.32",
5858
"@types/mz": "0.0.30",
5959
"@types/node": "6.0.46",
60+
"codecov": "^2.0.1",
6061
"mocha": "^3.2.0",
6162
"nyc": "^10.1.2",
6263
"rimraf": "^2.6.1",

0 commit comments

Comments
 (0)