Skip to content

Commit 09dce90

Browse files
committed
🤷‍♂️
1 parent 4e02cc0 commit 09dce90

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp2.0;net472</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp2.1;net472</TargetFrameworks>
55
<DefineConstants Condition=" '$(TargetFramework)' == 'net472' ">$(DefineConstants);DESKTOP</DefineConstants>
66
</PropertyGroup>
77

LibGit2Sharp/LibGit2Sharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp2.0;net472</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp2.1;net472</TargetFrameworks>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<Description>LibGit2Sharp brings all the might and speed of libgit2, a native Git implementation, to the managed world of .Net and Mono.</Description>
77
<Company>LibGit2Sharp contributors</Company>

appveyor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,20 +90,20 @@ test_script:
9090
{
9191
.\packages\OpenCover\tools\OpenCover.Console.exe `
9292
-register:user `
93-
"-target:""$Env:userprofile\.nuget\packages\xunit.runner.console\2.4.0\tools\net461\$runner""" `
94-
"-targetargs:""$Env:APPVEYOR_BUILD_FOLDER\bin\LibGit2Sharp.Tests\Release\net461\LibGit2Sharp.Tests.dll"" -noshadow" `
93+
"-target:""$Env:userprofile\.nuget\packages\xunit.runner.console\2.4.0\tools\net472\$runner""" `
94+
"-targetargs:""$Env:APPVEYOR_BUILD_FOLDER\bin\LibGit2Sharp.Tests\Release\net472\LibGit2Sharp.Tests.dll"" -noshadow" `
9595
"-filter:+[LibGit2Sharp]* -[LibGit2Sharp.Tests]*" `
9696
-hideskipped:All `
9797
-output:opencoverCoverage.xml
9898
}
9999
ElseIf ($Env:SHOULD_RUN_COVERITY_ANALYSIS -eq $False)
100100
{
101-
& "$Env:userprofile\.nuget\packages\xunit.runner.console\2.4.0\tools\net461\$runner" `
102-
"$Env:APPVEYOR_BUILD_FOLDER\bin\LibGit2Sharp.Tests\Release\net461\LibGit2Sharp.Tests.dll" -noshadow
101+
& "$Env:userprofile\.nuget\packages\xunit.runner.console\2.4.0\tools\net472\$runner" `
102+
"$Env:APPVEYOR_BUILD_FOLDER\bin\LibGit2Sharp.Tests\Release\net472\LibGit2Sharp.Tests.dll" -noshadow
103103
}
104104
}
105105
106-
- dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp2.0 --no-restore --no-build
106+
- dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp2.1 --no-restore --no-build
107107

108108
after_test:
109109
- ps: |

buildandtest.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ dotnet build "%~dp0\" /v:minimal /nologo /property:ExtraDefine="%EXTRADEFINE%"
3131
@IF ERRORLEVEL 1 EXIT /B %ERRORLEVEL%
3232

3333
:: Run tests on Desktop and CoreCLR
34-
"%userprofile%\.nuget\packages\xunit.runner.console\2.4.0\tools\net452\xunit.console.exe" "%~dp0bin\LibGit2Sharp.Tests\%Configuration%\net461\LibGit2Sharp.Tests.dll" -noshadow
34+
"%userprofile%\.nuget\packages\xunit.runner.console\2.4.0\tools\net452\xunit.console.exe" "%~dp0bin\LibGit2Sharp.Tests\%Configuration%\net472\LibGit2Sharp.Tests.dll" -noshadow
3535
@IF ERRORLEVEL 1 EXIT /B %ERRORLEVEL%
36-
dotnet test "%~dp0LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj" -f netcoreapp2.0 --no-restore --no-build
36+
dotnet test "%~dp0LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj" -f netcoreapp2.1 --no-restore --no-build
3737
@IF ERRORLEVEL 1 EXIT /B %ERRORLEVEL%
3838

3939
EXIT /B %ERRORLEVEL%

buildandtest.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export Configuration=release
1515
# On linux we don't pack because we can't build for net40.
1616
# We just build for CoreCLR and run tests for it.
1717
dotnet restore
18-
dotnet build LibGit2Sharp.Tests -f netcoreapp2.0 -property:ExtraDefine="$EXTRADEFINE" -fl -flp:verbosity=detailed
19-
dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp2.0 --no-restore --no-build
18+
dotnet build LibGit2Sharp.Tests -f netcoreapp2.1 -property:ExtraDefine="$EXTRADEFINE" -fl -flp:verbosity=detailed
19+
dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp2.1 --no-restore --no-build
2020

2121
exit $?

0 commit comments

Comments
 (0)