language: go # https://github.com/golang/go/issues/31293 dist: xenial sudo: false addons: apt: packages: - xorg-dev - libx11-dev - libxrandr-dev - libxinerama-dev - libxcursor-dev - libxi-dev - libopenal-dev - libasound2-dev - libgl1-mesa-dev services: - xvfb env: - GO111MODULE=on go: - tip - 1.12.x 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. script: - go test -v -race -mod=readonly ./...