CI fix.
This commit is contained in:
17
gitlab-ci.yml
Normal file
17
gitlab-ci.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
image: golang:1.11.1
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
script:
|
||||||
|
- pwd
|
||||||
|
- go test -test.v -cover ./...
|
Reference in New Issue
Block a user