-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
60 lines (58 loc) · 1.51 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
#version: 1.0.{build}
#pull_requests:
# do_not_increment_build_number: true
#skip_tags: true
#image: Visual Studio 2017
#configuration: Release
#platform: Any CPU
#build:
# parallel: true
# verbosity: normal
#notifications:
#- provider: Email
# to:
# - timothy.macharia@outlook.com
# on_build_success: true
# on_build_failure: true
# on_build_status_changed: false
version: 1.0.{build}
image: Visual Studio 2017
branches:
only:
- master
init:
# Good practise, because Windows line endings are different from Unix/Linux ones
- cmd: git config --global core.autocrlf true
install:
# Install repo specific stuff here
before_build:
# Display .NET Core version
- cmd: dotnet --version
# Display minimal restore text
- cmd: dotnet restore --verbosity m
build_script:
# output will be in ./src/bin/debug/netcoreapp1.1/publish
- cmd: dotnet build src/PayPal.MultiTarget/PayPal.MultiTarget.csproj --configuration Release
after_build:
# For once the build has completed
notifications:
- provider: Email
to:
- timothy.macharia@outlook.com
on_build_success: true
on_build_failure: true
on_build_status_changed: false
#artifacts:
# - path: '\src\bin\Debug\netcoreapp1.1\publish'
# name: WebSite
# type: WebDeployPackage
clone_depth: 1
#test_script:
# # restore packages for our unit tests
# - cmd: dotnet restore ./tests/tests.csproj --verbosity m
# # run the unit tests (requires changing into the test directory)
# - cmd: cd tests
# - cmd: dotnet xunit
on_finish :
# any cleanup in here
deploy: off