forked from dotnetrdf/dotnetrdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
55 lines (44 loc) · 1.81 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
image: Visual Studio 2017
branches:
except:
- maintenance/1.x
environment:
SHFBROOT: C:\Program Files (x86)\EWSoftware\Sandcastle Help File Builder\
SandCastleZipFile: SHFBInstaller.zip
SandCastleUri: https://github.com/EWSoftware/SHFB/releases/download/v2017.1.28.0/SHFBInstaller_v20171.28.0.zip
install:
- choco install gitversion.portable -pre -y
- ps: Start-FileDownload $env:SandCastleUri -FileName $env:SandCastleZipFile
- cmd: 7z x SHFBInstaller.zip -y
- ps: msiexec /i InstallResources\SandcastleHelpFileBuilder.msi /quiet /qn /norestart /log install.log
before_build:
- ps: gitversion /l console /output buildserver /updateassemblyinfo
configuration: Release
build_script:
- ps: ./build.ps1 -Target Pack --configuration=Release --NuGetVersion=$env:GitVersion_NuGetVersion
test_script:
- ps: ./build.ps1 -Target Cover --configuration=Release *> test.log
- ps: ./build.ps1 -Target Codecov --configuration=Release -no-build=true
before_deploy:
- cmd: msbuild Build\shfb\dotnetrdf.shfbproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:Configuration=%CONFIGURATION% /p:HelpFileVersion=%GitVersion_NuGetVersion%
deploy:
- provider: GitHub
description: 'dotNetRDF $(GitVersion_SemVer)'
auth_token:
secure: j3GoyDavErTD91EcSTfNBbQyTc7tqpp+klmmz85xC4fjbE8Gl2brFjr8t3/Zzwmk
on:
appveyor_repo_tag: true
artifact: Build\shfb\Help.zip, Build\shfb\Help\dotNetRDFApi.chm, /.*\.nupkg/
- provider: NuGet
api_key:
secure: xkVJcckbSBSStK7/jzgv6AUkI/QS1oeJNx6KUcHxoI9XrHI/m7VjFAslEGm9VEOo
on:
appveyor_repo_tag: true
artifact: /((?!Spin).)*.nupkg/
artifacts:
- path: 'nugets\*.nupkg'
- path: 'Build\shfb\Help\dotNetRDFApi.chm'
- path: 'Build\shfb\Help'
- path: 'opencover.xml'
on_finish:
- ps: Push-AppveyorArtifact 'test.log'