forked from NMFCode/NMF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
43 lines (42 loc) · 964 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
version: 2.0.{build}
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
configuration: Release
assembly_info:
patch: true
file: CommonAssemblyInfo.*
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
init:
- git config --global core.autocrlf true
before_build:
- cmd: >-
nuget update -self
nuget restore
build:
verbosity: minimal
after_build:
- ps: >-
foreach ($nuspec in get-childitem "*.nuspec" -Recurse){
& nuget pack $nuspec -Version $env:APPVEYOR_BUILD_VERSION
}
artifacts:
- path: '*.nupkg'
name: NuGet package
deploy:
- provider: NuGet
api_key:
secure: 8zhFDYQibZPU/7LsL4So6R7KKcpj9Yxl1EknlWm4KtrFxzlY5WLDRdAk5p4npAeC
skip_symbols: true
on:
branch: master
notifications:
- provider: Email
to:
subject: NMF Build
on_build_success: false
on_build_failure: true
on_build_status_changed: true