forked from sillsdev/libpalaso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
45 lines (45 loc) · 1.15 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
version: '{build}'
branches:
only:
- master
image: Visual Studio 2019
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.11.1 -y
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/Palaso.proj
publish_nuget: true
publish_nuget_symbols: true
use_snupkg_format: true
verbosity: minimal
test:
assemblies:
except:
- SIL.TestUtilities.dll
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