2018-07-15 16:43:43 +00:00
|
|
|
version: '{branch}-{build}'
|
|
|
|
|
2018-07-15 17:29:21 +00:00
|
|
|
before_build:
|
|
|
|
- nuget restore Unity-Technologies-networking/Networking.sln
|
|
|
|
|
2018-07-15 16:43:43 +00:00
|
|
|
build:
|
|
|
|
project: Unity-Technologies-networking/Networking.sln
|
|
|
|
verbosity: minimal
|
|
|
|
|
|
|
|
artifacts:
|
2018-07-20 20:22:09 +00:00
|
|
|
- path: Unity-Technologies-networking/Output
|
2018-07-15 16:43:43 +00:00
|
|
|
|
|
|
|
image: Visual Studio 2017
|
|
|
|
|
2018-07-15 19:05:31 +00:00
|
|
|
test_script:
|
|
|
|
- Unity-Technologies-networking\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"nunit3-console.exe" -targetargs:"Unity-Technologies-networking\UnityEngine.Networking.Tests\bin\Debug\UnityEngine.Networking.Tests.dll" -output:"coverage.xml" -filter:"+[UnityEngine.Networking*]* -[UnityEngine.Networking.Tests*]* "
|
|
|
|
|
|
|
|
after_test:
|
|
|
|
- ps: |
|
|
|
|
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
|
|
|
|
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
|
|
|
|
bash codecov.sh -f "coverage.xml"
|