forked from Inumedia/SlackAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
56 lines (44 loc) · 1.15 KB
/
appveyor.yml
File metadata and controls
56 lines (44 loc) · 1.15 KB
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
55
56
version: 1.0.6.{build}
image: Visual Studio 2017
pull_requests:
do_not_increment_build_number: true
nuget:
disable_publish_on_pr: true
skip_branch_with_pr: true
before_build:
- ps: >-
$config = @"
{
"slack": {
"userAuthToken": "$env:userAuthToken",
"botAuthToken": "$env:botAuthToken",
"testChannel": "$env:testChannel",
"directMessageUser": "$env:directMessageUser",
"authCode": "$env:authCode",
"clientId": "$env:clientId",
"clientSecret": "$env:clientSecret"
}
}
"@
$config | Set-Content SlackAPI.Tests\Configuration\config.json
build_script:
- ps: .\build.ps1
test: off
artifacts:
- path: '.\artifacts\**\*.nupkg'
name: Nuget packages
deploy:
- provider: NuGet
server: https://www.myget.org/F/slackapi/api/v2
api_key:
secure: dt+bmkFjmkMgVdDXaaqTC4IRORfSrBSEePOGaaVPkEsKs/lGxxth21bkkBqMuJqM
# Deploy symbol package too
skip_symbols: false
symbol_server: https://www.myget.org/F/slackapi/symbols/api/v2/package
#- provider: NuGet
# name: production
# api_key:
# secure: OVMRfHowHPun4n8cJXPNGg==
# on:
# branch: master
# appveyor_repo_tag: true