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
52 lines (40 loc) · 1.04 KB
/
appveyor.yml
File metadata and controls
52 lines (40 loc) · 1.04 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
version: 1.0.4.{build}
configuration: Release
platform: Any CPU
pull_requests:
do_not_increment_build_number: true
skip_branch_with_pr: true
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
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
- nuget restore
build:
project: SlackAPI.sln
verbosity: minimal
after_build:
- nuget pack SlackAPI.nuspec -Version %APPVEYOR_BUILD_VERSION%
test:
assemblies:
- SlackAPI.Tests\bin\Release\SlackAPI.Tests.dll
artifacts:
- path: SlackAPI*.nupkg
name: SlackAPI Nuget package