forked from microsoft/json-document-transforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
64 lines (50 loc) · 1.54 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
55
56
57
58
59
60
61
62
63
64
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - 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}
skip_tags: true
branches:
only:
- master
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2017
environment:
VisualStudioVersion: 15.0
TreatWarningsAsErrors: true
CodeAnalysisTreatWarningsAsErrors: true
configuration: Release
#---------------------------------#
# build configuration #
#---------------------------------#
before_build:
msbuild src\jdt.sln /nologo /m /v:quiet /t:restore
build:
project: src\jdt.sln # path to Visual Studio solution or project
verbosity: normal # MSBuild verbosity level
#---------------------------------#
# test configuration #
#---------------------------------#
# test net452
test:
assemblies:
- '**\net452\*test*.dll'
# test the netcoreapp1.0 version as well
after_test:
dotnet test src\Microsoft.VisualStudio.Jdt.Tests\Microsoft.VisualStudio.Jdt.Tests.csproj
--no-build
-f netcoreapp1.0
#---------------------------------#
# artifact configuration #
#---------------------------------#
artifacts:
- path: bin\**\*.nupkg
name: Nuget Package