-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
50 lines (35 loc) · 932 Bytes
/
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
# 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:
- dotnet tool install -g Cake.Tool
build_script:
- ps: >-
dotnet cake --target=appveyor
# 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\Tests.UnitTests.xml))
notifications:
- provider: Email
to:
- seth@shendrick.net
subject: 'SethCS Build {{status}}'
# Cake does this for us.
test: off
#-----------#
# Artifacts #
#-----------#
artifacts:
- path: 'TestResults\UnitTests\*.xml'