diff --git a/.travis.yml b/.travis.yml index 67ca8c6..7de5517 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,10 @@ language: csharp solution: Rauthor.sln mono: none -dotnet: 3.1 -cache: - directories: - - $HOME/.nuget/packages +dotnet: 2.2 script: - dotnet restore - - dotnet build ./Rauthor.sln -f netcoreapp3.1 + - dotnet build ./Rauthor.sln -f netcoreapp2.2 - dotnet test --no-build Rauthor.UnitTests/Rauthor.UnitTests.csproj --filter Category!=DatabaseTest /p:CollectCoverage=true /p:CoverletOutputFormat=opencover deploy: provider: script diff --git a/Rauthor.UnitTests/Rauthor.UnitTests.csproj b/Rauthor.UnitTests/Rauthor.UnitTests.csproj index 427ec45..c606260 100644 --- a/Rauthor.UnitTests/Rauthor.UnitTests.csproj +++ b/Rauthor.UnitTests/Rauthor.UnitTests.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1 + netcoreapp2.2 false diff --git a/Rauthor/Controllers/JuryController.cs b/Rauthor/Controllers/JuryController.cs index 64daf2d..f55dcb6 100644 --- a/Rauthor/Controllers/JuryController.cs +++ b/Rauthor/Controllers/JuryController.cs @@ -4,6 +4,7 @@ using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.EntityFrameworkCore; using Rauthor.Models; using Rauthor.ViewModels; diff --git a/Rauthor/Rauthor.csproj b/Rauthor/Rauthor.csproj index 9ba96b2..8c66dbf 100644 --- a/Rauthor/Rauthor.csproj +++ b/Rauthor/Rauthor.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + netcoreapp2.2 InProcess bfdceb32-95b6-49c5-a109-d841b410f47e 8.0