-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathappveyor.yml
54 lines (39 loc) · 1.47 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
# Notes:
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 1.0.{build}
#---------------------------------#
# environment configuration #
#---------------------------------#
# Operating system (build VM template)
os: Visual Studio 2015
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf true
#---------------------------------#
# build configuration #
#---------------------------------#
# build Configuration, i.e. Debug, Release, etc.
configuration: Package
build:
project: PlantUmlStudio.sln
verbosity: minimal # MSBuild verbosity level
# scripts to run before build
before_build:
- git submodule update --init --recursive
- nuget restore
#---------------------------------#
# tests configuration #
#---------------------------------#
test_script:
- ps: '&"$($env:APPVEYOR_BUILD_FOLDER)\packages\xunit.runner.console*\tools\xunit.console.exe" "$($env:APPVEYOR_BUILD_FOLDER)\Tests.Unit\bin\$($env:CONFIGURATION)\Tests.Unit.dll" -appveyor'
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: PlantUmlStudio.Setup\bin\$(CONFIGURATION)\PlantUmlStudio.msi