-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
54 lines (39 loc) · 1.14 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
# We only care about master for now.
branches:
only:
- master
# Do not build tags
skip_tags: true
#--------------------#
# Environment Config #
#--------------------#
image: Visual Studio 2019
matrix:
fast_finish: true # Fail right away if something goes wrong.
#--------------#
# Build Config #
#--------------#
install:
- git submodule update --init --recursive
- nuget install -ExcludeVersion -Version 1.0.0 -OutputDirectory .cake cake
build_script:
- ps: >-
.\.Cake\Cake\Cake.exe --target=appveyor --force_rebuild=true
# upload results to AppVeyor
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit3/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\TestResults\UnitTests\Chaskis.UnitTests.xml))
notifications:
- provider: Email
to:
subject: 'Chaskis Build {{status}}'
# Cake does this for us.
test: off
#-----------#
# Artifacts #
#-----------#
artifacts:
- path: 'DistPackages\chocolatey\*.*'
- path: 'DistPackages\nuget\*.*'
- path: 'DistPackages\windows\*.*'
- path: 'TestResults\UnitTests\*.xml'