-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
66 lines (54 loc) · 1.69 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
version: 0.0.0.{build}
shallow_clone: true
init:
- ps: if ($env:APPVEYOR_REPO_TAG_NAME) { Update-AppveyorBuild -Version $env:APPVEYOR_REPO_TAG_NAME.Substring(1) }
platform:
- Any CPU
configuration:
- Release
matrix:
fast_finish: true
assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
cache:
- packages -> **\packages.config
- node_modules -> package.json
- Nancy.ViewEngines.React\node_modules -> Nancy.ViewEngines.React\package.json
- Nancy.ViewEngines.React.Example\node_modules -> Nancy.ViewEngines.React.Example\package.json
- Nancy.ViewEngines.React.UnitTests\node_modules -> Nancy.ViewEngines.React.UnitTests\package.json
before_build:
- ps: nuget restore Nancy.ViewEngines.React.sln
before_test:
- ps: Nancy.ViewEngines.React.UnitTests\Test-JavaScript.ps1
- cinst googlechrome
artifacts:
- path: 'Nancy.ViewEngines.React\**\*.nupkg'
nuget:
account_feed: false
project_feed: false
disable_publish_on_pr: true
deploy:
- release: v$(APPVEYOR_BUILD_VERSION)
provider: GitHub
draft: false
prerelease: false
auth_token:
secure: cApkFZuYfz7loLotMfbhb53ZIfjjfbY7dr46eu6Q9+yAV+KuSGYGcVTG8Bgx8wka
on:
appveyor_repo_tag: true
- provider: NuGet
api_key:
secure: iBKdOaX4b1BDwWzGKoqbHoJHyOAxL6EHCRIretKb16QRLm5l1nkaF+W0SGfuEfMY
on:
appveyor_repo_tag: true
- provider: NuGet
server: https://www.myget.org/F/lijunle/api/v2/package
symbol_server: https://nuget.symbolsource.org/MyGet/lijunle
api_key:
secure: 8wzaNPk1mfp5TWFmpGIAs7XRcB9LF9NJKMkdm0oUN1q6SwQ/VVd6r9WPcDm0IXlu
on:
branch: master