Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only netstandard projects #135

Merged
merged 10 commits into from
Nov 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 10 additions & 16 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,29 +57,24 @@ matrix:
#---------------------------------#

configuration:
# This config doesn't build the .NET Standard projects
- netfx
- release

build:
parallel: true

# MSBuild verbosity level
verbosity: normal


# NOTE : We don't set a custom build script, so by default AppVeyor builds with MSBuild, which is
# fine because that means between this and Travis CI, we're validating dotnet/msbuild and also
# Windows/MacOS/Linux.


before_build:
# Make sure we have the right tools version
- dotnet --version

# Restore non-netstandard projects one by one using nuget cli directly
- nuget restore .\Keen\Keen.csproj -PackagesDirectory .\packages\
- nuget restore .\Keen.Net\Keen.Net.csproj -PackagesDirectory .\packages\
- nuget restore .\Keen.NET.Test\Keen.NET.Test.csproj -PackagesDirectory .\packages\
- nuget restore .\Keen.NET_35\Keen.NET_35.csproj -PackagesDirectory .\packages\
- nuget restore .\Keen.NET_35.Test\Keen.NET_35.Test.csproj -PackagesDirectory .\packages\

# Restore netstandard projects one by one using dotnet cli
- dotnet restore .\Keen.NetStandard\Keen.NetStandard.csproj
- dotnet restore .\Keen.NetStandard.Test\Keen.NetStandard.Test.csproj
- dotnet restore

# scripts to run after build
after_build:
Expand All @@ -93,7 +88,6 @@ after_build:
test_script:
- nuget install OpenCover -Version 4.6.519 -OutputDirectory tools
- nuget install coveralls.net -Version 0.8.0-unstable0013 -PreRelease -OutputDirectory tools
- .\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:nunit3-console.exe -targetargs:"--noheader .\Keen.NET.Test\bin\netfx\Keen.Net.Test.dll .\Keen.NET_35.Test\bin\netfx\Keen.NET_35.Test.dll --result=results.xml;format=AppVeyor" -output:coverage.xml -filter:"+[*]* -[*.Test]*" -returntargetcode -register:user

# Run the netstandard tests.
# Explicitly build with DebugType=Full specified. This means a non-portable, Windows-style PDB
Expand All @@ -102,9 +96,9 @@ test_script:
#
# Also use -oldStyle flag which uses an alternate instrumentation hook that is available for .NET Core
# Some comments on this can be found here: https://github.com/OpenCover/opencover/issues/601
- .\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:dotnet.exe -targetargs:"test --logger \"trx;LogFileName=netstandard_test_results.xml\" .\Keen.NetStandard.Test\Keen.NetStandard.Test.csproj /property:DebugType=Full" -mergeoutput -output:coverage.xml -filter:"+[*]* -[*.Test]*" -oldStyle -returntargetcode -register:user
- .\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:dotnet.exe -targetargs:"test --logger \"trx;LogFileName=netstandard_test_results.xml\" .\Keen.NetStandard.Test\Keen.NetStandard.Test.csproj /property:DebugType=Full" -mergeoutput -output:coverage.xml -filter:"+[*]* -[*.Test]* -[Moq*]*" -oldStyle -returntargetcode -register:user

# Upload merged coverage results from both test runs
# Upload coverage results
- .\tools\coveralls.net.0.8.0-unstable0013\tools\csmacnz.Coveralls.exe --opencover -i .\coverage.xml

# Upload netstandard test results to appveyor
Expand Down
114 changes: 0 additions & 114 deletions Keen.NET.Test/AddOnsTest.cs

This file was deleted.

23 changes: 0 additions & 23 deletions Keen.NET.Test/ApiResponses/GetDatasetDefinition.json

This file was deleted.

52 changes: 0 additions & 52 deletions Keen.NET.Test/ApiResponses/GetDatasetResults.json

This file was deleted.

60 changes: 0 additions & 60 deletions Keen.NET.Test/ApiResponses/ListDatasetDefinitions.json

This file was deleted.

Loading