/
appveyor.yml
40 lines (31 loc) · 1.04 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
# version format
version: 1.0.{build}
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
# branches to build
branches:
only:
- master
# Build worker image (VM template)
image: Visual Studio 2017
# build cache to preserve files/folders between builds
cache:
- packages -> **\packages.config
# enable service required for build/tests
services:
- mongodb # start MongoDB
# enable patching of AssemblyInfo.* files
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "1.0.{build}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
before_build:
- cmd: nuget restore Jcampon\Jcampon.sln
# Build settings, not to be confused with "before_build" and "after_build".
# "project" is relative to the original build directory and not influenced by directory changes in "before_build".
build:
# project: Jcampon\Jcampon.sln # path to Visual Studio solution or project