Skip to content

Commit 82ed3a9

Browse files
blackspherefollowerqdot
authored andcommitted
Switching to bash codecov
1 parent f16e69b commit 82ed3a9

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

appveyor.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,12 @@ after_build:
8484
test_script:
8585
- ps: .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"Buttplug.Server.Test\bin\$env:CONFIGURATION\Buttplug.Server.Test.dll Buttplug.Client.Test\bin\$env:CONFIGURATION\Buttplug.Client.Test.dll Buttplug.Apps.WebsocketServerGUI.Test\bin\$env:CONFIGURATION\Buttplug.Apps.WebsocketServerGUI.Test.dll Buttplug.Apps.KiirooEmulatorGUI.Test\bin\$env:CONFIGURATION\Buttplug.Apps.KiirooEmulatorGUI.Test.dll -noshadow" -output:"coverage.xml" -excludebyfile:"*\*LibLog.cs"
8686
after_test:
87-
- ps: If (($env:CONFIGURATION -imatch "Debug")) { "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%" }
88-
- ps: If (($env:CONFIGURATION -imatch "Debug")) { pip install codecov }
89-
- ps: If (($env:CONFIGURATION -imatch "Debug")) { codecov -f "coverage.xml" -X gcov }
87+
- ps: |
88+
If (($env:CONFIGURATION -imatch "Debug")) {
89+
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
90+
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
91+
bash codecov.sh -f "coverage.xml" -X gcov
92+
}
9093
- ps: set PATH=%PATH%;"C:\\Program Files (x86)\\Inno Setup 5"
9194
- ps: iscc buttplug-installer.iss
9295
- ps: installer\buttplug-installer.exe /VERYSILENT

0 commit comments

Comments
 (0)