This commit is contained in:
Stanislav Nikitin 2018-11-28 08:42:41 +05:00
parent 372acdfa3c
commit 73b8a5dd2a
1 changed files with 17 additions and 0 deletions

17
gitlab-ci.yml Normal file
View 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 ./...