Skip to content

Commit

Permalink
[Tests] use new codecov uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 13, 2021
1 parent 661876f commit 3a44931
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ script:
- npm run tests-only

after_success:
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -Os https://uploader.codecov.io/latest/linux/codecov)
11 changes: 8 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,11 @@ for:
$env:RESOLVERS = [string]::Join(";", $resolvers);
- IF DEFINED RESOLVERS FOR %%G in ("%RESOLVERS:;=";"%") do ( pushd %%~G & ci npm install --no-save nyc@%WINDOWS_NYC_VERSION% & popd )
# TODO: enable codecov for native windows builds
# on_success:
# - codecov
#on_success:
#- ci $ProgressPreference = 'SilentlyContinue'
#- ci Invoke-WebRequest -Uri https://uploader.codecov.io/latest/windows/codecov.exe
#- ci -Outfile codecov.exe
#- ci .\codecov.exe
- matrix:
only:
- configuration: WSL
Expand All @@ -154,6 +157,8 @@ for:
- ps: wsl curl -sL 'https://deb.nodesource.com/setup_${nodejs_version}.x' `| sudo APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 -E bash -
- wsl sudo DEBIAN_FRONTEND=noninteractive apt install -y nodejs
on_success:
- ci bash <(curl -s https://codecov.io/bash)
- ci curl -Os https://uploader.codecov.io/latest/linux/codecov
- ci chmod +x codecov
- ci ./codecov

build: on

0 comments on commit 3a44931

Please sign in to comment.