2019-05-22 15:40:19 +02:00
|
|
|
version: '3.0.0.{build}'
|
2017-10-06 15:36:35 +02:00
|
|
|
image: Visual Studio 2017
|
2017-10-06 15:39:10 +02:00
|
|
|
platform: x86
|
2018-02-15 10:24:57 +01:00
|
|
|
configuration: Release
|
2019-03-29 10:52:00 +01:00
|
|
|
assembly_info:
|
|
|
|
patch: true
|
|
|
|
file: AssemblyInfo.*
|
2019-05-22 15:40:19 +02:00
|
|
|
assembly_version: '{version}'
|
|
|
|
assembly_file_version: '{version}'
|
2019-05-28 08:07:23 +02:00
|
|
|
assembly_informational_version: '3.0.0 Base'
|
2017-10-06 15:28:50 +02:00
|
|
|
before_build:
|
|
|
|
- nuget restore
|
|
|
|
build_script:
|
2018-02-15 10:24:57 +01:00
|
|
|
- msbuild /verbosity:minimal "SafeExamBrowser.sln"
|
2017-10-06 15:28:50 +02:00
|
|
|
test_script:
|
2019-03-29 10:52:00 +01:00
|
|
|
- .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe -register:user -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Client.UnitTests\bin\%PLATFORM%\%CONFIGURATION%\SafeExamBrowser.Client.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]* -[*Moq*]*" -mergebyhash -output:"coverage.xml"
|
2019-03-20 15:00:27 +01:00
|
|
|
- .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe -register:user -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"
|
|
|
|
- .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe -register:user -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Configuration.UnitTests\bin\%PLATFORM%\%CONFIGURATION%\SafeExamBrowser.Configuration.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]* -[*Moq*]*" -mergebyhash -mergeoutput -output:"coverage.xml"
|
|
|
|
- .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe -register:user -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Core.UnitTests\bin\%PLATFORM%\%CONFIGURATION%\SafeExamBrowser.Core.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]* -[*Moq*]*" -mergebyhash -mergeoutput -output:"coverage.xml"
|
|
|
|
- .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe -register:user -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.I18n.UnitTests\bin\%PLATFORM%\%CONFIGURATION%\SafeExamBrowser.I18n.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]* -[*Moq*]*" -mergebyhash -mergeoutput -output:"coverage.xml"
|
2019-06-26 10:19:19 +02:00
|
|
|
- .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe -register:user -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Lockdown.UnitTests\bin\%PLATFORM%\%CONFIGURATION%\SafeExamBrowser.Lockdown.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]* -[*Moq*]*" -mergebyhash -mergeoutput -output:"coverage.xml"
|
2019-03-20 15:00:27 +01:00
|
|
|
- .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe -register:user -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Logging.UnitTests\bin\%PLATFORM%\%CONFIGURATION%\SafeExamBrowser.Logging.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]* -[*Moq*]*" -mergebyhash -mergeoutput -output:"coverage.xml"
|
|
|
|
- .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe -register:user -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Runtime.UnitTests\bin\%PLATFORM%\%CONFIGURATION%\SafeExamBrowser.Runtime.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]* -[*Moq*]*" -mergebyhash -mergeoutput -output:"coverage.xml"
|
2019-06-18 10:18:56 +02:00
|
|
|
- .\packages\OpenCover.4.7.922\tools\OpenCover.Console.exe -register:user -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Service.UnitTests\bin\%PLATFORM%\%CONFIGURATION%\SafeExamBrowser.Service.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]* -[*Moq*]*" -mergebyhash -mergeoutput -output:"coverage.xml"
|
2017-10-06 15:28:50 +02:00
|
|
|
after_test:
|
|
|
|
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
|
|
|
|
- pip install codecov
|
2017-10-09 08:00:46 +02:00
|
|
|
- codecov -f "coverage.xml"
|
2018-02-15 10:24:57 +01:00
|
|
|
artifacts:
|
|
|
|
- path: SafeExamBrowser.Runtime\bin\$(platform)\$(configuration)
|
2019-06-18 10:18:56 +02:00
|
|
|
name: '$(appveyor_build_version)_Application'
|
2019-05-29 10:52:46 +02:00
|
|
|
type: zip
|
2019-07-16 16:12:52 +02:00
|
|
|
- path: SafeExamBrowser.ResetUtility\bin\$(platform)\$(configuration)
|
|
|
|
name: '$(appveyor_build_version)_Reset'
|
|
|
|
type: zip
|
2019-05-29 10:52:46 +02:00
|
|
|
- path: SafeExamBrowser.Service\bin\$(platform)\$(configuration)
|
2019-06-18 10:18:56 +02:00
|
|
|
name: '$(appveyor_build_version)_Service'
|
2018-02-15 10:24:57 +01:00
|
|
|
type: zip
|