forked from Sarafian/MarkdownPS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
34 lines (29 loc) · 880 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
version: 1.0.{build}
image: Ubuntu1804
init:
- pwsh: 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: aU9vw9DIzXNRjmiS8ZtYvFZij4RUvdpeqoR1XaaemfKUjdc3y2Qw+qzCNSHsLXxY
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}})"