Skip to content

Commit 3a44931

Browse files
committedOct 13, 2021
[Tests] use new codecov uploader
1 parent 661876f commit 3a44931

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed
 

‎.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ script:
3737
- npm run tests-only
3838

3939
after_success:
40-
- bash <(curl -s https://codecov.io/bash)
40+
- bash <(curl -Os https://uploader.codecov.io/latest/linux/codecov)

‎appveyor.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,11 @@ for:
142142
$env:RESOLVERS = [string]::Join(";", $resolvers);
143143
- IF DEFINED RESOLVERS FOR %%G in ("%RESOLVERS:;=";"%") do ( pushd %%~G & ci npm install --no-save nyc@%WINDOWS_NYC_VERSION% & popd )
144144
# TODO: enable codecov for native windows builds
145-
# on_success:
146-
# - codecov
145+
#on_success:
146+
#- ci $ProgressPreference = 'SilentlyContinue'
147+
#- ci Invoke-WebRequest -Uri https://uploader.codecov.io/latest/windows/codecov.exe
148+
#- ci -Outfile codecov.exe
149+
#- ci .\codecov.exe
147150
- matrix:
148151
only:
149152
- configuration: WSL
@@ -154,6 +157,8 @@ for:
154157
- ps: wsl curl -sL 'https://deb.nodesource.com/setup_${nodejs_version}.x' `| sudo APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 -E bash -
155158
- wsl sudo DEBIAN_FRONTEND=noninteractive apt install -y nodejs
156159
on_success:
157-
- ci bash <(curl -s https://codecov.io/bash)
160+
- ci curl -Os https://uploader.codecov.io/latest/linux/codecov
161+
- ci chmod +x codecov
162+
- ci ./codecov
158163

159164
build: on

0 commit comments

Comments
 (0)
Please sign in to comment.