-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
50 lines (50 loc) · 1.26 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
version: '{build}'
branches:
only:
- master
- add-symbols-for-nuget-packages
image: Visual Studio 2019
platform: Any CPU
init:
- cmd: |
set GITVERSION_BUILD_NUMBER=%APPVEYOR_BUILD_NUMBER%
set GitVersion_NoNormalizeEnabled=true
set IGNORE_NORMALISATION_GIT_HEAD_MOVE=1
install:
- choco install gitversion.portable --version 5.12.0 -y
environment:
ExtraExcludeCategories: SkipOnTeamCity
Platform: Any CPU
nuget:
disable_publish_on_pr: true
disable_publish_octopus: true
before_build:
- cmd: |
set GitVersion_NoNormalizeEnabled=true
set IGNORE_NORMALISATION_GIT_HEAD_MOVE=1
if defined APPVEYOR_PULL_REQUEST_NUMBER (git checkout -B PR-%APPVEYOR_PULL_REQUEST_NUMBER%) else (git checkout -B %APPVEYOR_REPO_BRANCH%)
gitversion /l console /output buildserver /nonormalize
build:
project: build/Glyssen.proj
publish_nuget: true
publish_nuget_symbols: true
use_snupkg_format: true
verbosity: normal
test:
assemblies:
except:
- output\**\SIL.*
categories:
except:
- SkipOnTeamCity
artifacts:
- path: output/*nupkg
name: nuget
deploy:
- provider: Environment
name: sil-lsdev nuget
notifications:
- provider: GitHubPullRequest
on_build_success: false
on_build_failure: false
on_build_status_changed: false