This repository contains a set of scripts that are used by the
.travis.yml and appveyor.yml files of pyvista-based packages 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 https://github.com/pyvista/gl-ci-helpers.git"
- "powershell gl-ci-helpers/appveyor/install_opengl.ps1"
- "SET PYVISTA_OFF_SCREEN=True"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 https://github.com/pyvista/gl-ci-helpers.git
- source ./gl-ci-helpers/travis/setup_headless_display.sh