-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
54 lines (34 loc) · 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: 1.2.{build}
image: WMF 5
environment:
NEXOSIS_API_KEY:
secure: Vu9ZUtpEcQ/EoKx71vLot16ynFoMm0Tta7rR2FHUJlUEula3TAlnL0cl8BLubSvo
NEXOSIS_BASE_TEST_URL: https://api.uat.nexosisdev.com/v1
NugetApiKey:
secure: ZVnyY36pyop4d/d/NqbJh9NDjouFQpPxX8BcIjO+Zv7zhn8kaTbS7soALfJ0MKSD
# Allow WMF5 (i.e. PowerShellGallery functionality)
os: WMF 5
build: false
install:
- ps: >-
Get-PackageProvider -Name NuGet -ForceBootstrap | Out-Null
Install-Module -Name InvokeBuild -Force
Install-Module -Name Pester -Force
Install-Module -Name PSScriptAnalyzer -Force
Install-Module -Name BuildHelpers -Force
Install-Module -Name PSDeploy -Force
before_test:
- ps: >-
pushd PSNexosisClient
Invoke-Build Clean
Invoke-Build Build
Invoke-Build Analyze
popd
test_script:
- ps: >-
pushd PSNexosisClient
Invoke-Build RunUnitTests
Invoke-Build ConfirmTestsPassed
Set-BuildEnvironment
Invoke-PSDeploy -Path .\Deploy.psdeploy.ps1 -Force
popd