2019-03-29 12:09:52 +01: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-03-29 12:00:27 +01:00
|
|
|
assembly_version: "{version}"
|
|
|
|
assembly_file_version: "{version}"
|
2019-05-22 15:23:20 +02:00
|
|
|
assembly_informational_version: "3.0.0 Alpha"
|
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"
|
|
|
|
- .\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"
|
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-05-22 15:23:20 +02:00
|
|
|
name: 3.0.0_Alpha
|
2018-02-15 10:24:57 +01:00
|
|
|
type: zip
|