Skip to content

Commit 467af68

Browse files
committed
Fix #352: Migrate to new VS 2017 RC AppVeyor image
1 parent 933e475 commit 467af68

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ task Build {
130130
task Test -If { !$script:IsUnix } {
131131
$testParams = @{}
132132
if ($env:APPVEYOR -ne $null) {
133-
$testParams = @{"l" = "appveyor"}
133+
$testParams = @{"l" = "Appveyor"}
134134
}
135135

136136
exec { & $script:dotnetExe test -c $Configuration @testParams .\test\PowerShellEditorServices.Test\PowerShellEditorServices.Test.csproj }
@@ -173,7 +173,7 @@ task UploadArtifacts -If ($script:IsCIBuild) {
173173
}
174174
}
175175

176-
task UploadTestLogs -If ($script:IsCIBuild) {
176+
task UploadTestLogs -After Test -If ($script:IsCIBuild) {
177177
$testLogsZipPath = "$PSScriptRoot/TestLogs.zip"
178178

179179
[System.IO.Compression.ZipFile]::CreateFromDirectory(

appveyor.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
version: '0.9.0.{build}'
2-
os: WMF 5
2+
image: Visual Studio 2017 RC
33
clone_depth: 10
44
skip_tags: true
55

@@ -16,11 +16,5 @@ install:
1616
build_script:
1717
- ps: Invoke-Build -Configuration Release
1818

19-
test:
20-
assemblies:
21-
- Microsoft.PowerShell.EditorServices.Test.dll
22-
- Microsoft.PowerShell.EditorServices.Test.Protocol.dll
23-
- Microsoft.PowerShell.EditorServices.Test.Host.dll
24-
25-
after_test:
26-
- ps: Invoke-Build UploadTestLogs -Configuration Release
19+
# The build script takes care of the tests
20+
test: off

0 commit comments

Comments
 (0)