-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
58 lines (44 loc) · 1.18 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
version: 0.1.{build}
image: Visual Studio 2017
configuration: Release
init:
- ps: Update-AppveyorBuild -Version "0.1.$env:appveyor_build_number+sha.$($env:appveyor_repo_commit.substring(0,7))"
environment:
simver: 0.1.{build}
nuget:
disable_publish_on_pr: true
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{simver}'
assembly_version: '{simver}'
file_version: '{simver}'
informational_version: '{version}'
matrix:
fast_finish: true # fail fast!
clone_depth: 3
pull_requests:
do_not_increment_build_number: true
before_build:
- cmd: dotnet restore DotJEM.Json.Visitor\DotJEM.Json.Visitor\DotJEM.Json.Visitor.csproj
- cmd: nuget restore DotJEM.Json.Visitor\DotJEM.Json.Visitor.sln
build:
project: DotJEM.Json.Visitor\DotJEM.Json.Visitor.sln
publish_nuget: true
publish_nuget_symbols: true
after_build:
dir
test:
assemblies:
- '**\*.test.dll'
on_success:
- curl -s -o copilot https://copilot.blackducksoftware.com/ci/appveyor/scripts/upload
- bash copilot
deploy:
provider: NuGet
api_key:
secure: xjk5tz3Tcq/JnadrTWPZ2YOjggaN9yV7ulLn0+v7bqvukNNeO/TPCzamWxZOmax6
skip_symbols: true
on:
branch: master