From 953a8e4ea6ad53fe9b9e71a5d76baa6f3455467f Mon Sep 17 00:00:00 2001 From: avk Date: Mon, 14 Jan 2019 12:35:58 +0500 Subject: [PATCH] switch tests to run on .net core 2.2 --- .travis.yml | 8 ++++---- GroBuf.Tests/GroBuf.Tests.csproj | 2 +- global.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index e3523fe..a5c2b6f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,11 @@ -dist: trusty +dist: xenial sudo: false language: csharp -dotnet: 2.1.400 +dotnet: 2.2.100 mono: none script: - git fetch --unshallow # in order to make Nerdbank.GitVersioning.Tasks.GetBuildVersion work - dotnet restore ./GroBuf.sln --verbosity m - dotnet build --configuration Release --framework netstandard2.0 ./GroBuf/GroBuf.csproj - - dotnet build --configuration Release --framework netcoreapp2.0 ./GroBuf.Tests/GroBuf.Tests.csproj - - dotnet test --no-build --configuration Release --framework netcoreapp2.0 --filter TestCategory!=LongRunning ./GroBuf.Tests/GroBuf.Tests.csproj + - dotnet build --configuration Release --framework netcoreapp2.2 ./GroBuf.Tests/GroBuf.Tests.csproj + - dotnet test --no-build --configuration Release --framework netcoreapp2.2 --filter TestCategory!=LongRunning ./GroBuf.Tests/GroBuf.Tests.csproj diff --git a/GroBuf.Tests/GroBuf.Tests.csproj b/GroBuf.Tests/GroBuf.Tests.csproj index 37e9daf..d2aabb7 100644 --- a/GroBuf.Tests/GroBuf.Tests.csproj +++ b/GroBuf.Tests/GroBuf.Tests.csproj @@ -2,7 +2,7 @@ false - netcoreapp2.0;net45 + netcoreapp2.2;net45 diff --git a/global.json b/global.json index c0dbd1a..a4a01b2 100644 --- a/global.json +++ b/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "2.1.400" + "version": "2.2.100" } } \ No newline at end of file