2017-10-06 15:36:35 +02:00
|
|
|
image: Visual Studio 2017
|
2017-10-06 15:39:10 +02:00
|
|
|
platform: x86
|
2017-10-06 15:28:50 +02:00
|
|
|
before_build:
|
|
|
|
- nuget restore
|
|
|
|
build_script:
|
2018-02-15 09:27:59 +01:00
|
|
|
- msbuild /verbosity:quiet "SafeExamBrowser.sln"
|
2017-10-06 15:28:50 +02:00
|
|
|
test_script:
|
2018-01-18 08:16:20 +01:00
|
|
|
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Client.UnitTests\bin\x86\Debug\SafeExamBrowser.Client.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]*" -mergebyhash -output:"coverage.xml"
|
|
|
|
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Core.UnitTests\bin\x86\Debug\SafeExamBrowser.Core.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]*" -mergebyhash -mergeoutput -output:"coverage.xml"
|
|
|
|
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"vstest.console.exe" -targetargs:"/logger:Appveyor .\SafeExamBrowser.Runtime.UnitTests\bin\x86\Debug\SafeExamBrowser.Runtime.UnitTests.dll" -filter:"+[*]* -[*.UnitTests]*" -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"
|