-
Notifications
You must be signed in to change notification settings - Fork 10
/
appveyor.yml
37 lines (31 loc) · 910 Bytes
/
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
version: 1.0.{build}
image: Ubuntu1804
init:
- pwsh: >-
$PSVersionTable
Get-ChildItem ENV:\
install:
- pwsh: >-
$modules=@(
# "Pester"
"SemVerPS"
)
$modules|ForEach-Object {Install-Module -Name $_ -Scope CurrentUser -Force}
Get-Module -Name $modules -ListAvailable|Format-Table Name,Version,Path
build: off
test_script:
- pwsh: '& .\CI\Invoke-Test.ps1 -AppVeyor'
for:
-
branches:
only:
- master
environment:
NuGetAPIKey:
secure: 0N0ZjH0Mkw++Pr4WCPV8V1bDAnITjRrdD/mGCGcmtGiXqPzGdDJxYMdZmqPoi00G
deploy_script:
- pwsh: >-
& .\CI\Publish-Module.ps1 -NuGetAPIKey $env:NuGetAPIKey
notifications:
- provider: GitHubPullRequest
template: "{{#passed}}:white_check_mark:{{/passed}}{{#failed}}:x:{{/failed}} [Build {{&projectName}} {{buildVersion}} {{status}}]({{buildUrl}}) (commit {{commitUrl}} by @{{&commitAuthorUsername}})"