Making xvfb a service
This commit is contained in:
parent
9d5c7afe12
commit
3aad3268cd
|
@ -11,15 +11,17 @@ addons:
|
||||||
- libxi-dev
|
- libxi-dev
|
||||||
- libopenal-dev
|
- libopenal-dev
|
||||||
- libasound2-dev
|
- libasound2-dev
|
||||||
- xvfb
|
- libgl1-mesa-dev
|
||||||
|
|
||||||
|
services:
|
||||||
|
- xvfb
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- tip
|
- tip
|
||||||
- 1.8.x
|
- 1.8.x
|
||||||
- 1.7.4
|
- 1.7.4
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- export DISPLAY=':99.0'
|
|
||||||
- Xvfb :99 -screen 0 1920x1080x24 > /dev/null 2&>1 &
|
|
||||||
- go get -t ./...
|
- go get -t ./...
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in New Issue