mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Build: Update PowerShell to build with .NET Core SDK 2.1.4 (#6054)
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ after_success:
|
||||
|
||||
# travis-ci will quit using the cache if an enviroment variable changes
|
||||
env:
|
||||
- CACHE_VERSION=netcoreapp.2.0.5
|
||||
- CACHE_VERSION=netcoreapp.2.0.5-sdk.2.1.4
|
||||
|
||||
# timeout uploading cache after 6 minutes (360 seconds)
|
||||
cache:
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
image: Visual Studio 2017
|
||||
|
||||
# cache version - netcoreapp.2.0.5
|
||||
# cache version - netcoreapp.2.0.5-sdk.2.1.4
|
||||
cache:
|
||||
- '%LocalAppData%\Microsoft\dotnet -> appveyor.yml'
|
||||
- '%HOMEDRIVE%%HOMEPATH%\.nuget\packages -> appveyor.yml'
|
||||
|
||||
+2
-2
@@ -1423,8 +1423,8 @@ function Start-PSxUnit {
|
||||
|
||||
# '-fxversion' workaround required due to https://github.com/dotnet/cli/issues/7901#issuecomment-343323674
|
||||
# Run sequential tests first, and then run the tests that can execute in parallel
|
||||
dotnet xunit -fxversion 2.0.0 -configuration $Options.configuration -xml $SequentialTestResultsFile -namespace "PSTests.Sequential" -parallel none
|
||||
dotnet xunit -fxversion 2.0.0 -configuration $Options.configuration -xml $ParallelTestResultsFile -namespace "PSTests.Parallel" -nobuild
|
||||
dotnet xunit -fxversion 2.0.5 -configuration $Options.configuration -xml $SequentialTestResultsFile -namespace "PSTests.Sequential" -parallel none
|
||||
dotnet xunit -fxversion 2.0.5 -configuration $Options.configuration -xml $ParallelTestResultsFile -namespace "PSTests.Parallel" -nobuild
|
||||
}
|
||||
finally {
|
||||
Pop-Location
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"sdk": {
|
||||
"version": "2.0.2"
|
||||
"version": "2.1.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user