forked from code-cracker/code-cracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
80 lines (59 loc) · 2.41 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: 1.0.0.{build}
skip_tags: true
os: Visual Studio 2015 CTP 6
configuration: DebugNoVsix
init:
- git config --global core.autocrlf true
clone_folder: c:\projects\code-cracker
shallow_clone: false
clone_depth: 5
environment:
COVERALLS_REPO_TOKEN:
secure: 9qsI9p9EPYyYoEetOcoQ76A7zfQRdstXY81MQFnX1Zpddtc0CrQThKAFPUba12m4
before_build:
- ps: >-
$env:path="C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1;C:\Program Files (x86)\MSBuild\14.0\bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows Kits\8.1\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1\;$env:path"
. .\build.ps1 Prepare-Build
build_script:
- ps: . .\build.ps1 Build-Only
after_build:
- ps: >-
. .\build.ps1 Pack-Nuget
test_script:
- ps: >-
. .\build.ps1 Test
after_test:
- ps: >-
. ".\test\CSharp\AnalyzeCecil.ps1"
artifacts:
- path: src
name: src
- path: test
name: test
- path: log
name: log
deploy:
- provider: NuGet
api_key:
secure: s1aIT1sGbIeG5Ccgree7K+k/h7LOSzPfJOrsWcCuzgFGrcuexPZUwX/CfYnU9w4v
skip_symbols: true
on:
branch: release
- provider: NuGet
server: https://www.myget.org/F/codecrackerbuild/api/v2/package
api_key:
secure: 42eslsnaZIIcMVVaeC9Qu5NI9yjzLzHWYUGl0HLhl0YurivQezpMyJOwgSVjiGmj
skip_symbols: true
on:
branch: master
notifications:
- provider: Email
to:
- cds@cds-software.com.br
- elemarjr@gmail.com
- viniciushanas@gmail.com
- giggio@giggio.net
subject: CodeCracker Build
on_build_success: false
on_build_failure: true
on_build_status_changed: true