Update .gitlab-ci.yml to build with go mod
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user