This repository contains a set of scripts that are used by the
.travis.yml
and appveyor.yml
files for the
Travis and AppVeyor services respectively.
These scripts help set up OpenGL related features like headless displays on the CI-services.
The idea is to clone these at the last minute when the continuous integration is about to be run. This is better than including this repository as a sub-module, because this allows updates to this repository to take effect immediately, and not have to update the sub-module every time a change is made.
Include the following lines at the start of the install
section in
appveyor.yml
:
install:
# configure a headless display
- "git clone --depth 1 git://github.com/VoltanaDMG/gl-ci-helpers.git"
- "powershell gl-ci-helpers/appveyor/install_opengl.ps1"
Include the following in the before_script
section of your .travis.yml
(please note that you might have to use a xenial
linux distribution)
dist: xenial
before_install:
# configure a headless display
- git clone --depth 1 git://github.com/VoltanaDMG/gl-ci-helpers.git
- source ./gl-ci-helpers/travis/install_opengl.sh