2015-04-12 10:13:11 +00:00
|
|
|
language: csharp
|
2014-02-24 10:24:16 +00:00
|
|
|
|
2017-07-30 18:16:55 +00:00
|
|
|
sudo: false # use the new container-based Travis infrastructure
|
2014-02-24 10:24:16 +00:00
|
|
|
|
2016-07-17 21:12:35 +00:00
|
|
|
before_install:
|
|
|
|
- chmod +x build.sh
|
2017-07-23 15:30:58 +00: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 18:16:55 +00:00
|
|
|
|
|
|
|
script:
|
2017-07-30 18:58:39 +00:00
|
|
|
- travis_wait 30 ./build.sh NuGet
|
2017-07-30 18:16:55 +00:00
|
|
|
|
2017-06-01 17:54:05 +00:00
|
|
|
after_script:
|
2017-05-31 13:01:06 +00: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)
|