forked from PowerShellModules/PesterHelpers
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (34 loc) · 1.1 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Custom Appveyor settings
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PowerShellEdition: Desktop
Test: Full
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PowerShellEdition: Core
Test: Full
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PowerShellEdition: Desktop
Test: Norm
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PowerShellEdition: Core
Test: Norm
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PowerShellEdition: Desktop
Test: Min
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PowerShellEdition: Core
Test: Min
matrix:
# immediately finish build on failure
fast_finish: true
# Scripts that run after cloning
install:
- ps: Install-Module -Name InvokeBuild, PowerShellGet, Pester, PSScriptAnalyzer -SkipPublisherCheck -Force
build_script:
- ps: |
$ErrorActionPreference = 'Stop'
$buildScript = ".\build.ps1"
Invoke-Build -File $buildScript
#Compress-Archive -Path ".\bin\PesterHelpers\" -DestinationPath ".\PesterHelpers.zip"
#Push-AppveyorArtifact ".\PesterHelpers.zip"