-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
52 lines (42 loc) · 1.56 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
# RDC currently only seems to work with the Visual Studio 2017 image
image: Visual Studio 2017
branches:
only:
- master
- develop
- /release/.*/
- /hotfix/.*/
- /feature/.*/
- /bugfix/.*/
environment:
IGNORE_NORMALISATION_GIT_HEAD_MOVE: 1
install:
- git submodule update --init --recursive
- choco install gitversion.portable --version 5.10.3 -y
- ps: Invoke-WebRequest -OutFile C:\tools\nuget.exe -Uri https://dist.nuget.org/win-x86-commandline/latest/nuget.exe # Visual Studio 2017 image doesn't ship with the latest NuGet version
- ps: $env:Path = "C:\tools;" + $env:Path
- ps: Install-WindowsFeature -Name "RDC"
- ps: Get-WindowsFeature -Name "RDC"
assembly_info:
patch: false
before_build:
- nuget restore source/Jobbr.ArtefactStorage.RavenFS.sln
- ps: C:\ProgramData\chocolatey\lib\GitVersion.Portable\tools\GitVersion.exe /l console /output buildserver /updateAssemblyInfo
platform: Any CPU
configuration: Release
build:
parallel: true
project: source/Jobbr.ArtefactStorage.RavenFS.sln
after_build:
- cmd: nuget pack source\Jobbr.ArtefactStorage.RavenFS.nuspec -version "%GitVersion_SemVer%" -prop "target=%CONFIGURATION%"
- cmd: appveyor PushArtifact "Jobbr.ArtefactStorage.RavenFS.%GitVersion_SemVer%.nupkg"
test:
assemblies:
- '**\*Jobbr.ArtefactStorage.RavenFS.Tests.dll'
deploy:
- provider: NuGet
server: https://nuget.org
api_key:
secure: 60SMVZkhtzWAeH6Mp7DT1YZlZGGG8jwOEXMH0oRhX1iQLBejg1TpaDxgN6i0RisX
on:
appveyor_repo_tag: true