-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
40 lines (39 loc) · 1 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
31
32
33
34
35
36
37
38
39
40
environment:
git_user: "CiBuildDocu"
git_email: "[email protected]"
git_access_token:
secure: /OB1V/jwz6+VVu62c1k3dycubqHbRbYb/P/lieXf54NjvG5jQSOTVAjIOueVbgMR
version: '{build}'
image: Visual Studio 2017
pull_requests:
do_not_increment_build_number: false
nuget:
disable_publish_on_pr: true
build_script:
- ps: .\Build.ps1
test:
assemblies:
- '**\*test*.dll'
after_test:
- ps: |
if (!$env:APPVEYOR_PULL_REQUEST_NUMBER -and ($env:APPVEYOR_REPO_BRANCH -eq "master"))
{
# build docu and deploy changes to gh-pages
.\docs\buildDocu.ps1 -deploy $env:git_email $env:git_user $env:git_access_token
}
else
{
# build docu without deploying
.\docs\buildDocu.ps1
}
artifacts:
- path: .\artifacts\**\*.nupkg
name: NuGet
deploy:
- provider: NuGet
name: production
api_key:
secure: 3qnlhVVXjspVhZ4f27rjeH4SKhI/p6jS0Qf3oLymqXbynpwqgw39b2sEluQadWFx
on:
branch: master
appveyor_repo_tag: true