Making xvfb a service

This commit is contained in:
Ben Cragg 2019-04-16 08:47:42 +01:00
parent 9d5c7afe12
commit 3aad3268cd
1 changed files with 5 additions and 3 deletions

View File

@ -11,15 +11,17 @@ addons:
- libxi-dev
- libopenal-dev
- libasound2-dev
- xvfb
- libgl1-mesa-dev
services:
- xvfb
go:
- tip
- 1.8.x
- 1.7.4
install:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1920x1080x24 > /dev/null 2&>1 &
- go get -t ./...
script: