SEBWIN-338: Setting up new release build server.
This commit is contained in:
parent
f25516e858
commit
efbb373630
2 changed files with 32 additions and 24 deletions
30
appveyor-release.yml
Normal file
30
appveyor-release.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
version: '3.0.0.{build}'
|
||||
image: Visual Studio 2017
|
||||
platform: x86
|
||||
configuration: Release
|
||||
assembly_info:
|
||||
patch: true
|
||||
file: AssemblyInfo.*
|
||||
assembly_version: '{version}'
|
||||
assembly_file_version: '{version}'
|
||||
assembly_informational_version: '3.0.0 Base'
|
||||
before_build:
|
||||
- nuget restore
|
||||
build_script:
|
||||
- msbuild /verbosity:minimal "SafeExamBrowser.sln"
|
||||
after_build:
|
||||
- appveyor PushArtifact "Setup\bin\%CONFIGURATION%\Setup.msi" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_Setup.msi" -DeploymentName "SEB_%APPVEYOR_BUILD_VERSION%_Setup"
|
||||
- appveyor PushArtifact "SetupBundle\bin\%CONFIGURATION%\SetupBundle.exe" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_SetupBundle.exe" -DeploymentName "SEB_%APPVEYOR_BUILD_VERSION%_SetupBundle"
|
||||
artifacts:
|
||||
- path: SafeExamBrowser.Runtime\bin\$(platform)\$(configuration)
|
||||
name: 'SEB_$(appveyor_build_version)_Application'
|
||||
type: zip
|
||||
- path: SebWindowsConfig\bin\$(platform)\$(configuration)
|
||||
name: 'SEB_$(appveyor_build_version)_Configuration'
|
||||
type: zip
|
||||
- path: SafeExamBrowser.ResetUtility\bin\$(platform)\$(configuration)
|
||||
name: 'SEB_$(appveyor_build_version)_Reset'
|
||||
type: zip
|
||||
- path: SafeExamBrowser.Service\bin\$(platform)\$(configuration)
|
||||
name: 'SEB_$(appveyor_build_version)_Service'
|
||||
type: zip
|
|
@ -1,20 +1,11 @@
|
|||
version: '3.0.0.{build}'
|
||||
version: {build}
|
||||
image: Visual Studio 2017
|
||||
platform: x86
|
||||
configuration: Release
|
||||
assembly_info:
|
||||
patch: true
|
||||
file: AssemblyInfo.*
|
||||
assembly_version: '{version}'
|
||||
assembly_file_version: '{version}'
|
||||
assembly_informational_version: '3.0.0 Base'
|
||||
configuration: Debug
|
||||
before_build:
|
||||
- nuget restore
|
||||
build_script:
|
||||
- msbuild /verbosity:minimal "SafeExamBrowser.sln"
|
||||
after_build:
|
||||
- appveyor PushArtifact "Setup\bin\%CONFIGURATION%\Setup.msi" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_Setup.msi" -DeploymentName "SEB_%APPVEYOR_BUILD_VERSION%_Setup"
|
||||
- appveyor PushArtifact "SetupBundle\bin\%CONFIGURATION%\SetupBundle.exe" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_SetupBundle.exe" -DeploymentName "SEB_%APPVEYOR_BUILD_VERSION%_SetupBundle"
|
||||
test_script:
|
||||
- .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe -register -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Client.UnitTests\bin\%PLATFORM%\%CONFIGURATION%\SafeExamBrowser.Client.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]* -[*Moq*]*" -mergebyhash -output:"coverage.xml"
|
||||
- .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe -register -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Communication.UnitTests\bin\%PLATFORM%\%CONFIGURATION%\SafeExamBrowser.Communication.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]* -[*Moq*]*" -mergebyhash -mergeoutput -output:"coverage.xml"
|
||||
|
@ -29,16 +20,3 @@ after_test:
|
|||
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
|
||||
- pip install codecov
|
||||
- codecov -f "coverage.xml" -X gcov
|
||||
artifacts:
|
||||
- path: SafeExamBrowser.Runtime\bin\$(platform)\$(configuration)
|
||||
name: 'SEB_$(appveyor_build_version)_Application'
|
||||
type: zip
|
||||
- path: SebWindowsConfig\bin\$(platform)\$(configuration)
|
||||
name: 'SEB_$(appveyor_build_version)_Configuration'
|
||||
type: zip
|
||||
- path: SafeExamBrowser.ResetUtility\bin\$(platform)\$(configuration)
|
||||
name: 'SEB_$(appveyor_build_version)_Reset'
|
||||
type: zip
|
||||
- path: SafeExamBrowser.Service\bin\$(platform)\$(configuration)
|
||||
name: 'SEB_$(appveyor_build_version)_Service'
|
||||
type: zip
|
Loading…
Add table
Reference in a new issue