Commit 52cf2b8f authored by John Jarvis's avatar John Jarvis

Merge branch 'jarv/report' into 'master'

Add report stage

See merge request !27
parents d6cd9ccf 49026a5f
Pipeline #42475931 passed with stage
in 1 minute and 1 second
image: golang:1.9
stages:
- test
- report
before_script:
- export GOPATH=/builds/go
- export REPONAME=$(basename $CI_PROJECT_DIR)
......@@ -9,15 +13,21 @@ before_script:
- cd $GOPATH/src/gitlab.com/$GROUPNAME
- ln -s $CI_PROJECT_DIR
- cd $CI_PROJECT_NAME
- pwd
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
- go build
build:
test:
stage: test
script:
- go test ./... -v -cover
- go build
artifacts:
paths:
- gitlab-patcher
expire_in: 1 week
report:
stage: report
variables:
DEBUG: "-debug"
script:
- oncall-robot-assistant $DEBUG
only:
variables:
- $GITLAB_API_TOKEN
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment