-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathappveyor.yml
30 lines (30 loc) · 1.24 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
version: 2.1.{build}
image: Visual Studio 2017
init:
- ps: |
Install-Package Configuration -Provider PowerShellGet -Minimum 1.0 -Force -ForceBootstrap
Install-Package Pester -Provider PowerShellGet -Minimum 4.1 -Force -SkipPublisherCheck
Install-Package Pansies -Provider PowerShellGet -Force -AllowClobber
environment:
CODECOV_TOKEN:
secure: sCb/Zv0ZKIdJGJyMyD3DXlGzChdDnyZkbnfYNbXLwD86CuApmDKUM4JahzQ+NOt9
install:
- ps: |
nuget install libgit2sharp -OutputDirectory .\packages -ExcludeVersion
.\Build.ps1 -Step Clean, Update -Verbose
nuget:
disable_publish_on_pr: true
build_script:
- ps: .\Build.ps1 -Step Build -Verbose
test_script:
- ps: .\Build.ps1 -Step Test
deploy_script:
- ps: .\Build.ps1 -Step Package -Verbose | % { Push-AppveyorArtifact $_.FullName }
notifications:
- provider: Slack
incoming_webhook: https://hooks.slack.com/services/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
channel: poshcode
template: "<{{buildUrl}}|Build {{projectName}} {{buildVersion}} {{status}}>\nCommit <{{commitUrl}}|{{commitId}}> by {{commitAuthor}} on {{commitDate}}:\n_{{commitMessage}}_{{#messages}}\n{{.}}{{/messages}}"
on_build_success: true
on_build_failure: true
on_build_status_changed: false