Added code coverage CI step.

This commit is contained in:
Jarl Gullberg 2017-05-31 14:45:23 +02:00
parent 4ee0700bab
commit 043c4e3c5a
No known key found for this signature in database
GPG key ID: 750FF6F6BDA72D23

View file

@ -7,3 +7,8 @@ before_install:
script:
- ./build.sh NuGet
after_success:
- mono --debug --profile=log:coverage,covfilter=+OpenTK,covfilter=-OpenTK.Tests,covfilter=-FSharp.Core,covfilter=-FsCheck,covfilter=-xunit.assert packages/xunit.runner.console/tools/xunit.console.exe -parallel none tests/OpenTK.Tests/bin/Release/OpenTK.Tests.dll + - mono --debug --profile=log:coverage,covfilter=+OpenTK,covfilter=-OpenTK.Tests,covfilter=-FSharp.Core,covfilter=-FsCheck,covfilter=-xunit.assert "packages/xunit.runner.console/tools/xunit.console.exe" "tests/OpenTK.Tests/bin/Release/OpenTK.Tests.dll" -parallel none
- mprof-report --reports=coverage --coverage-out=coverage.xml output.mlpd - mprof-report --reports=coverage --coverage-out=coverage.xml output.mlpd
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)