-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
65 lines (51 loc) · 1.4 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
58
59
60
61
62
63
64
65
version: '{build}'
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
init:
- git config --global core.autocrlf input
environment:
# Set the DOTNET_SKIP_FIRST_TIME_EXPERIENCE environment variable to stop wasting time caching packages
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# Disable sending usage data to Microsoft
DOTNET_CLI_TELEMETRY_OPTOUT: true
nuget:
disable_publish_on_pr: true
build_script:
- ps: .\build.ps1 -RunTests $true
test: off
artifacts:
- path: .\.nupkgs\*.nupkg
name: NuGet
deploy:
# All builds go to myget
- provider: NuGet
server: https://www.myget.org/F/sceneskope-ci/api/v2/package
api_key:
secure: 40vHIJA6fQxaD2DKcElD5iWt0Bsjl2TvgKVCK3XZSA9NgbGyXoGzC5lRSaA0O6V3
skip_symbols: true
on:
branch: /^(master|dev)$/
# Dev builds to nuget with prefix
- provider: NuGet
api_key:
secure: eaiytjZ8451bGqdim49VhzfsYNDviMmEm/lMbc34oqmznMUEb0BW/9/yFckWyzf1
skip_symbols: true
on:
branch: dev
# Release builds to nuget
- provider: NuGet
api_key:
secure: eaiytjZ8451bGqdim49VhzfsYNDviMmEm/lMbc34oqmznMUEb0BW/9/yFckWyzf1
skip_symbols: true
on:
branch: master
appveyor_repo_tag: true
# Also release builds to github
- provider: GitHub
auth_token:
secure: wyRf/wHvY67t+0Lni9CUlbQ77RpieO1OOAN4f47vSwqgxAx9KCfAlH6iMbJYl4xh
artifact: /Sceneskope.*\.nupkg/
on:
branch: master
appveyor_repo_tag: true