forked from nanoframework/nf-Visual-Studio-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
57 lines (49 loc) · 1.47 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: 0.2.4-pre{build}
pull_requests:
do_not_increment_build_number: true
# Skipping commits affecting specific files
skip_commits:
files:
- '**\AssemblyInfo.*'
- '**/*.md'
- 'LICENSE'
- dir/*
- '.gitignore'
branches:
only:
- master
image: Visual Studio 2017
configuration: Release
clone_depth: 1
install:
- cmd: git submodule update --init --recursive
build_script:
- ps: >-
nuget sources add -name MyGet -Source https://www.myget.org/F/nanoframework-dev
nuget restore source\nanoFramework.Tools.VisualStudio.sln
msbuild source\nanoFramework.Tools.VisualStudio.sln /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
artifacts:
- path: '**\*.vsix'
name: VS_extension
on_success:
# for this environment variable to work here it has to be set in AppVeyor UI
- ps: .\upload-vsix-myget.ps1
deploy:
- provider: GitHub
tag: v$(appveyor_build_version)
release: nanoFramework VS2017 Extension v$(appveyor_build_version)
description: add description here
auth_token:
secure: DNixoFFE+pGlwyhj7McfZoln42vOmj0iY1iNV9zXEr3y0NpXlOIgL8k5ehzlFM1S
artifact: VS_extension
draft: true
prerelease: true
force_update: true
notifications:
- provider: Slack
auth_token:
secure: 2tqAJTTbN2dm24Vrwo5TXun3Vxc34R5G9l7o3pK3xEuKZAzxx3nbP2yGkMI/kl3+NxHXknjBfZnkhZC5eLYBHb+jO7YVUZwPYOfC/ZGy5HU=
channel: '#build-monitor'
on_build_status_changed: true
on_build_success: false
on_build_failure: false