@@ -4,9 +4,9 @@ if($isWindows)
44 # choco install codecov
55
66 (New-Object System.Net.WebClient).DownloadFile(" https://github.com/OpenCover/opencover/releases/download/4.7.922/opencover.4.7.922.zip" , " $ ( Get-Location ) /opencover.zip" )
7- Expand-Archive .\opencover.zip - DestinationPath .
7+ Expand-Archive .\opencover.zip
88 (New-Object System.Net.WebClient).DownloadFile(" https://github.com/codecov/codecov-exe/releases/download/1.7.2/codecov-win7-x64.zip" , " $ ( Get-Location ) /Codecov.zip" )
9- Expand-Archive .\Codecov.zip - DestinationPath .
9+ Expand-Archive .\Codecov.zip
1010
1111 choco install nunit- console- runner
1212 opencover/ OpenCover.Console.exe - filter:" +[PCLExt.*]* -[PCLExt.FileStorage.NetFX.Test*]*" - register:user - target:" nunit3-console.exe" - targetargs:" /domain:single test/PCLExt.FileStorage.NetFX.Test/bin/$env: CONFIGURATION /PCLExt.FileStorage.NetFX.Test.dll" - output:coverage_netfx.xml
@@ -27,10 +27,10 @@ if($isWindows)
2727if ($isLinux )
2828{
2929 (New-Object System.Net.WebClient).DownloadFile(" https://github.com/codecov/codecov-exe/releases/download/1.7.2/codecov-linux-x64.zip" , " $ ( Get-Location ) /Codecov.zip" )
30- Expand-Archive .\Codecov.zip - DestinationPath .
30+ Expand-Archive .\Codecov.zip
3131
3232 (New-Object System.Net.WebClient).DownloadFile(" https://github.com/nunit/nunit-console/releases/download/v3.10/NUnit.Console-3.10.0.zip" , " $ ( Get-Location ) /NUnit.Console.zip" )
33- Expand-Archive .\NUnit.Console.zip - DestinationPath .
33+ Expand-Archive .\NUnit.Console.zip
3434
3535 # mono NUnit.Console/bin/net35/nunit3-console.exe ./test/PCLExt.FileStorage.NetFX.Test/bin/$env:CONFIGURATION/PCLExt.FileStorage.NetFX.Test.dll --result="fx-result.xml"
3636 mono opencover/ OpenCover.Console.exe - filter:" +[PCLExt.*]* -[PCLExt.FileStorage.NetFX.Test*]*" - register:user - target:" NUnit.Console/bin/net35/nunit3-console.exe" - targetargs:" /domain:single test/PCLExt.FileStorage.NetFX.Test/bin/$env: CONFIGURATION /PCLExt.FileStorage.NetFX.Test.dll" - output:coverage_netfx.xml
0 commit comments