opensaps/vendor/gitlab.com/pztrn/flagger/gitlab-ci.yml

17 lines
307 B
YAML

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 ./...