From 043c4e3c5acf40542d6076992d9e8aea266e9ccf Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Wed, 31 May 2017 14:45:23 +0200 Subject: [PATCH] Added code coverage CI step. --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 88b294ad..60792844 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)