File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ test_script:
103
103
}
104
104
}
105
105
106
- - dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp1.0 --no-build
106
+ - dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp2.0 --no-restore --no-build
107
107
108
108
after_test :
109
109
- ps : |
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ dotnet build "%~dp0\" /v:minimal /nologo /property:ExtraDefine="%EXTRADEFINE%"
33
33
:: Run tests on Desktop and CoreCLR
34
34
" %userprofile% \.nuget\packages\xunit.runner.console\2.2.0\tools\xunit.console.exe" " %~dp0 bin\LibGit2Sharp.Tests\%Configuration% \net46\LibGit2Sharp.Tests.dll" -noshadow
35
35
@ IF ERRORLEVEL 1 EXIT /B %ERRORLEVEL%
36
- dotnet test " %~dp0 LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj" -- no-build -f netcoreapp1.0
36
+ dotnet test " %~dp0 LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj" -f netcoreapp2.0 -- no-restore --no-build
37
37
@ IF ERRORLEVEL 1 EXIT /B %ERRORLEVEL%
38
38
39
39
EXIT /B %ERRORLEVEL%
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export Configuration=release
15
15
# On linux we don't pack because we can't build for net40.
16
16
# We just build for CoreCLR and run tests for it.
17
17
dotnet restore
18
- dotnet build LibGit2Sharp.Tests -f netcoreapp1 .0 /property:ExtraDefine=" $EXTRADEFINE " /fl /flp:verbosity=detailed
19
- dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp1 .0 --no-build
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
20
20
21
21
exit $?
You can’t perform that action at this time.
0 commit comments