Update .gitlab-ci.yml to build with go mod

This commit is contained in:
2019-10-08 22:49:25 +01:00
parent 90b5b3c140
commit e46a5f194f

View File

@@ -1,12 +1,8 @@
image: golang:1.10
image: golang:1.13
build:
script:
- apt-get update && apt-get install -q -yy libx11-dev libxcursor-dev mesa-common-dev libxrandr-dev libxinerama-dev libgl1-mesa-dev libxi-dev
- export GOPATH=`pwd`/.GOPATH
- mkdir -p $GOPATH/src/ur.gs
- ln -s `pwd` $GOPATH/src/ur.gs/ordoor
- make all
- rm -rf .GOPATH
artifacts:
untracked: true