Skip to content

Commit 51a7e44

Browse files
author
Kapil Borle
committed
Add PSv4 build/test matrix to appveyor
1 parent d21cf9f commit 51a7e44

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

appveyor.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
os:
2-
- "Visual Studio 2015"
1+
environment:
2+
matrix:
3+
- APPVEYOR_BUILD_WORKER_IMAGE: WMF 5
4+
PowerShellEdition: Desktop
5+
BuildConfiguration: Release
6+
- APPVEYOR_BUILD_WORKER_IMAGE: WMF 4
7+
PowerShellEdition: Desktop
8+
BuildConfiguration: PSv3Release
39

410
# clone directory
511
clone_folder: c:\projects\psscriptanalyzer
@@ -15,9 +21,10 @@ install:
1521

1622
build_script:
1723
- ps: |
24+
$PSVersionTable
1825
Push-Location C:\projects\psscriptanalyzer
1926
dotnet restore
20-
C:\projects\psscriptanalyzer\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build
27+
C:\projects\psscriptanalyzer\buildCoreClr.ps1 -Framework net451 -Configuration $env:BuildConfiguration -Build
2128
C:\projects\psscriptanalyzer\build.ps1 -BuildDocs
2229
Pop-Location
2330

0 commit comments

Comments
 (0)