Commit 753daae0 authored by Jan Tattermusch's avatar Jan Tattermusch

use netcoreapp2.1 for testing

parent 79c32b17
...@@ -38,7 +38,7 @@ dotnet restore ...@@ -38,7 +38,7 @@ dotnet restore
dotnet build -c %configuration% || goto error dotnet build -c %configuration% || goto error
echo Testing C# echo Testing C#
dotnet test -c %configuration% -f netcoreapp1.0 Google.Protobuf.Test\Google.Protobuf.Test.csproj || goto error dotnet test -c %configuration% -f netcoreapp2.1 Google.Protobuf.Test\Google.Protobuf.Test.csproj || goto error
dotnet test -c %configuration% -f net451 Google.Protobuf.Test\Google.Protobuf.Test.csproj || goto error dotnet test -c %configuration% -f net451 Google.Protobuf.Test\Google.Protobuf.Test.csproj || goto error
goto :EOF goto :EOF
......
...@@ -4,7 +4,7 @@ dotnet build src/Google.Protobuf.sln || goto :error ...@@ -4,7 +4,7 @@ dotnet build src/Google.Protobuf.sln || goto :error
echo Running tests. echo Running tests.
dotnet test -f netcoreapp1.0 src/Google.Protobuf.Test/Google.Protobuf.Test.csproj || goto :error dotnet test -f netcoreapp2.1 src/Google.Protobuf.Test/Google.Protobuf.Test.csproj || goto :error
goto :EOF goto :EOF
......
...@@ -10,8 +10,8 @@ dotnet restore $SRC/Google.Protobuf.sln ...@@ -10,8 +10,8 @@ dotnet restore $SRC/Google.Protobuf.sln
dotnet build -c $CONFIG $SRC/Google.Protobuf.sln dotnet build -c $CONFIG $SRC/Google.Protobuf.sln
echo Running tests. echo Running tests.
# Only test netcoreapp1.0, which uses the .NET Core runtime. # Only test netcoreapp2.1, which uses the .NET Core runtime.
# If we want to test the .NET 4.5 version separately, we could # If we want to test the .NET 4.5 version separately, we could
# run Mono explicitly. However, we don't have any differences between # run Mono explicitly. However, we don't have any differences between
# the .NET 4.5 and netstandard1.0 assemblies. # the .NET 4.5 and netstandard2.1 assemblies.
dotnet test -c $CONFIG -f netcoreapp1.0 $SRC/Google.Protobuf.Test/Google.Protobuf.Test.csproj dotnet test -c $CONFIG -f netcoreapp2.1 $SRC/Google.Protobuf.Test/Google.Protobuf.Test.csproj
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment