-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (27 loc) · 1.79 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
version: 1.0.0.{build}
configuration: Release
platform: Any CPU
build_script:
- msbuild "Bohrium.targets" /t:clean /v:n /maxcpucount /nodeReuse:false
- msbuild "Bohrium.msbuild" /t:compile /property:Configuration="Debug" /v:n /maxcpucount /nodeReuse:false
- msbuild "Bohrium.msbuild" /t:compile /property:Configuration="Release" /v:n /maxcpucount /nodeReuse:false
test_script:
- msbuild "Bohrium.msbuild" /t:run-coverage-bohrium-core /property:Configuration="Debug";CI_SERVICE_NAME="ci.appveyor.com";CI_BUILD_NUMBER="%APPVEYOR_BUILD_NUMBER%";CI_REPO_COMMIT="%APPVEYOR_REPO_COMMIT%";CI_REPO_BRANCH="%APPVEYOR_REPO_BRANCH%";CI_REPO_COMMIT_AUTHOR="%APPVEYOR_REPO_COMMIT_AUTHOR%";CI_REPO_COMMIT_AUTHOR_EMAIL="%APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL%";CI_REPO_COMMIT_MESSAGE="%APPVEYOR_REPO_COMMIT_MESSAGE%";CI_JOB_ID="%APPVEYOR_JOB_ID%" /v:n /maxcpucount /nodeReuse:false
- ps: >-
# upload results to AppVeyor
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path -Path .\Build\BuildArtifacts\OpenCover\**\NUnitReport.xml))
after_test:
- msbuild "Bohrium.msbuild" /t:deploy-packages /property:CI_BUILD_NUMBER="%APPVEYOR_BUILD_NUMBER%" /v:n /maxcpucount /nodeReuse:false
- msbuild "Bohrium.Ext.NHibernate.AutoMapper.msbuild" /t:deploy-packages /property:CI_BUILD_NUMBER="%APPVEYOR_BUILD_NUMBER%" /v:n /maxcpucount /nodeReuse:false
- msbuild "Bohrium.Ext.ICSharpCode.ILSpy.msbuild" /t:deploy-packages /property:CI_BUILD_NUMBER="%APPVEYOR_BUILD_NUMBER%" /v:n /maxcpucount /nodeReuse:false
artifacts:
- path: Build\DeployArtifacts\*.nupkg
deploy:
- provider: NuGet
server: https://www.myget.org/F/bohriumnet/
api_key:
secure: YCAelKXv1uPJtHfvC7LCnk1VI4D9jr+retFSRPhw5Qk/nBo6GVTqKTfHBphV35lj
skip_symbols: true
on:
branch: master