Start a virtual framebuffer for travisCI
This commit is contained in:
parent
83429da3b4
commit
80a9959247
1 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,12 @@ sudo: false # use the new container-based Travis infrastructure
|
|||
|
||||
before_install:
|
||||
- chmod +x build.sh
|
||||
|
||||
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
|
||||
|
||||
script:
|
||||
- ./build.sh NuGet
|
||||
|
|
Loading…
Reference in a new issue