2015-04-12 12:13:11 +02:00
|
|
|
language: csharp
|
2014-02-24 11:24:16 +01:00
|
|
|
|
2017-07-30 20:16:55 +02:00
|
|
|
sudo: false # use the new container-based Travis infrastructure
|
2014-02-24 11:24:16 +01:00
|
|
|
|
2016-07-17 23:12:35 +02:00
|
|
|
before_install:
|
|
|
|
- chmod +x build.sh
|
2017-07-23 17:30:58 +02:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
# Start a virtual framebuffer as described: https://docs.travis-ci.com/user/gui-and-headless-browsers/
|
|
|
|
- "export DISPLAY=:99.0"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
|
|
- sleep 3 # give xvfb some time to start
|
2017-07-30 20:16:55 +02:00
|
|
|
|
|
|
|
script:
|
2017-07-30 23:45:56 +02:00
|
|
|
- travis_wait ./build.sh NuGet
|
2017-12-30 18:29:41 +01:00
|
|
|
- mono .paket/paket.exe install
|
|
|
|
- git diff --exit-code
|
2017-07-30 20:16:55 +02:00
|
|
|
|
2017-06-01 19:54:05 +02:00
|
|
|
after_script:
|
2017-05-31 15:01:06 +02:00
|
|
|
- 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
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|