2018-11-28 08:40:04 +05:00
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- mkdir -p ${GOPATH}/src/gitlab.com/pztrn/
|
|
|
|
- ln -s $CI_PROJECT_DIR ${GOPATH}/src/gitlab.com/pztrn/flagger
|
|
|
|
- cd ${GOPATH}/src/gitlab.com/pztrn/flagger
|
|
|
|
|
2018-12-18 04:10:54 +05:00
|
|
|
test:1.11:
|
|
|
|
image: golang:1.11.3
|
2018-12-18 04:08:14 +05:00
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
|
|
|
- pwd
|
|
|
|
- go test -test.v -cover ./...
|
|
|
|
|
|
|
|
test:1.10:
|
2018-12-18 04:10:54 +05:00
|
|
|
image: golang:1.10.6
|
2018-12-18 04:08:14 +05:00
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
|
|
|
- pwd
|
|
|
|
- go test -test.v -cover ./...
|
|
|
|
|
|
|
|
test:1.9:
|
|
|
|
image: golang:1.9.7
|
2018-11-28 08:40:04 +05:00
|
|
|
stage: test
|
2018-11-28 08:44:28 +05:00
|
|
|
tags:
|
|
|
|
- docker
|
2018-11-28 08:40:04 +05:00
|
|
|
script:
|
|
|
|
- pwd
|
|
|
|
- go test -test.v -cover ./...
|