2017-06-15 17:40:37 -05:00
|
|
|
language: go
|
2019-04-16 03:01:36 -05:00
|
|
|
# https://github.com/golang/go/issues/31293
|
|
|
|
dist: xenial
|
2017-06-15 17:40:37 -05:00
|
|
|
sudo: false
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- xorg-dev
|
|
|
|
- libx11-dev
|
|
|
|
- libxrandr-dev
|
|
|
|
- libxinerama-dev
|
|
|
|
- libxcursor-dev
|
|
|
|
- libxi-dev
|
2017-07-06 17:08:41 -05:00
|
|
|
- libopenal-dev
|
2017-07-12 15:54:36 -05:00
|
|
|
- libasound2-dev
|
2019-04-16 02:47:42 -05:00
|
|
|
- libgl1-mesa-dev
|
|
|
|
|
|
|
|
services:
|
|
|
|
- xvfb
|
|
|
|
|
2019-05-30 07:56:19 -05:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
|
|
|
|
2017-06-15 17:40:37 -05:00
|
|
|
go:
|
2019-04-15 05:25:30 -05:00
|
|
|
- tip
|
2019-05-30 07:47:19 -05:00
|
|
|
- 1.12.x
|
2018-09-03 07:00:36 -05:00
|
|
|
|
2019-05-30 08:23:12 -05:00
|
|
|
install:
|
|
|
|
- # Do nothing. This is needed to prevent the default install action
|
|
|
|
# "go get -t -v ./..." from happening here because we want it to happen
|
|
|
|
# inside script step.
|
|
|
|
|
2017-06-15 17:40:37 -05:00
|
|
|
script:
|
2019-05-30 07:47:19 -05:00
|
|
|
- go test -v -race -mod=readonly ./...
|