-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced Travis CI with AppVeyor (#29)
Because AppVeyor supports Ubuntu and Mono, we can switch from Travis CI (.NETCore+Mono) and AppVeyor(.NETCore+.NETFX) to AppVeyor only(.NETCore+.NETFX & .NETCore+Mono)
- Loading branch information
Showing
8 changed files
with
63 additions
and
80 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
# PCLExt.FileStorage.Core.Test | ||
choco install codecov | ||
dotnet tool install -g coveralls.net | ||
CD $env:APPVEYOR_BUILD_FOLDER | ||
CD test\PCLExt.FileStorage.Core.Test | ||
dotnet add package coverlet.msbuild | ||
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude=[NUnit*]* | ||
csmacnz.coveralls --opencover -i coverage.opencover.xml --repoToken $env:COVERALLS_REPO_TOKEN | ||
codecov -f coverage.opencover.xml | ||
if($isWindows) #no need to do the coverage on Ubuntu | ||
{ | ||
# PCLExt.FileStorage.Core.Test | ||
choco install codecov | ||
dotnet tool install -g coveralls.net | ||
CD $env:APPVEYOR_BUILD_FOLDER | ||
CD test\PCLExt.FileStorage.Core.Test | ||
dotnet add package coverlet.msbuild | ||
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude=[NUnit*]* | ||
csmacnz.coveralls --opencover -i coverage.opencover.xml --repoToken $env:COVERALLS_REPO_TOKEN | ||
codecov -f coverage.opencover.xml | ||
|
||
# PCLExt.FileStorage.NetFX.Test | ||
CD $env:APPVEYOR_BUILD_FOLDER | ||
nuget install OpenCover -Version 4.6.519 -OutputDirectory tools | ||
nuget install NUnit.ConsoleRunner -Version 3.8.0 -OutputDirectory tools | ||
.\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -filter:"+[PCLExt.*]* -[PCLExt.FileStorage.NetFX.Test]*" -register:user -target:".\tools\NUnit.ConsoleRunner.3.8.0\tools\nunit3-console.exe" -targetargs:"/domain:single test/PCLExt.FileStorage.NetFX.Test/bin/Debug/PCLExt.FileStorage.NetFX.Test.dll" -output:coverage_netfx.xml | ||
csmacnz.coveralls --opencover -i coverage_netfx.xml --repoToken $env:COVERALLS_REPO_TOKEN | ||
codecov -f coverage_netfx.xml | ||
# PCLExt.FileStorage.NetFX.Test | ||
CD $env:APPVEYOR_BUILD_FOLDER | ||
nuget install OpenCover -Version 4.6.519 -OutputDirectory tools | ||
nuget install NUnit.ConsoleRunner -Version 3.8.0 -OutputDirectory tools | ||
.\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -filter:"+[PCLExt.*]* -[PCLExt.FileStorage.NetFX.Test]*" -register:user -target:".\tools\NUnit.ConsoleRunner.3.8.0\tools\nunit3-console.exe" -targetargs:"/domain:single test/PCLExt.FileStorage.NetFX.Test/bin/Debug/PCLExt.FileStorage.NetFX.Test.dll" -output:coverage_netfx.xml | ||
csmacnz.coveralls --opencover -i coverage_netfx.xml --repoToken $env:COVERALLS_REPO_TOKEN | ||
codecov -f coverage_netfx.xml | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
if($isWindows) | ||
{ | ||
msbuild PCLExt.FileStorage.sln /verbosity:m | ||
} | ||
if($isLinux) | ||
{ | ||
msbuild src/PCLExt.FileStorage.Abstractions | ||
msbuild src/PCLExt.FileStorage.Standard | ||
msbuild src/PCLExt.FileStorage.Portable111 | ||
msbuild src/PCLExt.FileStorage.Portable259 | ||
msbuild src/PCLExt.FileStorage.NetFX | ||
msbuild test/PCLExt.FileStorage.NetFX.Test | ||
nuget install NUnit.ConsoleRunner -Version 3.9.0 -OutputDirectory packages | ||
mono packages/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe test/PCLExt.FileStorage.NetFX.Test/bin/Debug/PCLExt.FileStorage.NetFX.Test.dll | ||
|
||
dotnet test test/PCLExt.FileStorage.Core.Test | ||
} |