.gitlab-ci.yml: use 1.14 in go test
This commit is contained in:
parent
3b2ed644a3
commit
f8e6cc78dc
@ -34,7 +34,7 @@ build-docker:
|
|||||||
|
|
||||||
go-test:
|
go-test:
|
||||||
stage: go-test
|
stage: go-test
|
||||||
image: golang:1.12
|
image: golang:1.14
|
||||||
services:
|
services:
|
||||||
- postgres:latest
|
- postgres:latest
|
||||||
variables:
|
variables:
|
||||||
@ -49,7 +49,6 @@ go-test:
|
|||||||
- mkdir -p /go/src /go/bin /go/pkg
|
- mkdir -p /go/src /go/bin /go/pkg
|
||||||
- export GOPATH=/go
|
- export GOPATH=/go
|
||||||
- export PATH=$PATH:/go/bin
|
- export PATH=$PATH:/go/bin
|
||||||
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
|
||||||
- ln -s $CI_PROJECT_DIR /go/src/$CI_PROJECT_NAME
|
- ln -s $CI_PROJECT_DIR /go/src/$CI_PROJECT_NAME
|
||||||
script:
|
script:
|
||||||
- cd /go/src/$CI_PROJECT_NAME
|
- cd /go/src/$CI_PROJECT_NAME
|
||||||
|
Loading…
Reference in New Issue
Block a user