2017-10-06 15:36:35 +02:00
|
|
|
image: Visual Studio 2017
|
2017-10-06 15:28:50 +02:00
|
|
|
before_build:
|
|
|
|
- nuget restore
|
|
|
|
build_script:
|
2017-10-06 15:31:46 +02:00
|
|
|
- msbuild /verbosity:quiet "SafeExamBrowser.sln"
|
2017-10-06 15:28:50 +02:00
|
|
|
test_script:
|
|
|
|
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"SafeExamBrowser.Core.UnitTests -noshadow" -output:"coverage.xml" -filter:"+[SafeExamBrowser.Core*]* -[SafeExamBrowser.Core.UnitTests*]*"
|
|
|
|
after_test:
|
|
|
|
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
|
|
|
|
- pip install codecov
|
|
|
|
- codecov -f "coverage.xml" -t YourUploadToken
|