forked from gigi81/elastico
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
58 lines (43 loc) · 1.38 KB
/
Copy pathappveyor.yml
File metadata and controls
58 lines (43 loc) · 1.38 KB
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 format
version: 0.6.0.{build}
environment:
powershellgallery_apikey:
secure: mnc2Qk/sxVmJ1MXKzQMdNdA2RJYuf5/wZLchXz6cALTVuO9Y8alJf1mz+sa8+hMz
# branches to build
branches:
# blacklist
except:
- gh-pages
# Do not build on tags (GitHub and BitBucket)
skip_tags: true
# Build worker image (VM template)
image: Visual Studio 2015
# build cache to preserve files/folders between builds
cache:
- packages
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# enable patching of AssemblyInfo.* files
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: Any CPU
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
before_build:
- nuget restore
build:
parallel: true # enable MSBuild parallel builds
project: Elasticsearch.Powershell.sln # path to Visual Studio solution or project
publish_nuget: false # package projects with .nuspec files and push to artifacts
publish_nuget_symbols: false # generate and publish NuGet symbol packages
test:
deploy_script:
- powershell -File .\deploy.ps1
after_deploy:
- powershell -File .\generate-doc.ps1