-
Notifications
You must be signed in to change notification settings - Fork 20
/
appveyor.yml
48 lines (39 loc) · 1.52 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
#---------------------------------#
# environment configuration #
#---------------------------------#
version: 2.7.{build}
environment:
gallery_api_key:
secure: WeDp1yZJECZBjjW+22A8lA8+gmz+wiYostPKtU4pdLXORfK//eJCdR7f0k3oJ+2r
certificate_secret:
secure: 2NeBUwfDSJomxCyxUlwnqw==
certificate_salt:
secure: hfJXNN22cyxbW4U/r1msEu+yN1QKiyzQqNDnPWeiPAkOKUnPrLGWj00qGmfHw9a5ZUqNBqc1Gn/Xzvspia2sTQ==
install:
- ps: Write-Verbose -Message "PowerShell version $($PSVersionTable.PSVersion)" -Verbose
- ps: Install-Module -Name Pester -MaximumVersion 4.99 -Scope CurrentUser -Force -AllowClobber -Verbose
- ps: Install-Module -Name PSSCriptAnalyzer, PSake, VirtualEngine.Build -Scope CurrentUser -Force -AllowClobber -Verbose
- ps: $null = Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1'))
build: false
on_finish:
- ps: |
Invoke-PSake -BuildFile .\Build.PSake.ps1 -TaskList Appveyor
for:
-
branches:
only:
- dev
test_script:
- ps: |
Invoke-PSake -BuildFile .\Build.PSake.ps1 -TaskList Test
Write-Verbose "PSake.build_success: $($psake.build_success)" -Verbose
if (-not $psake.build_success) { exit 1 }
-
branches:
only:
- master
test_script:
- ps: |
Invoke-PSake -BuildFile .\Build.PSake.ps1 -TaskList Publish
Write-Verbose "PSake.build_success: $($psake.build_success)" -Verbose
if (-not $psake.build_success) { exit 1 }