Commit ab40111e authored by John Jarvis's avatar John Jarvis

Add report stage

parent d6cd9ccf
Pipeline #42474209 passed with stages
in 2 minutes and 25 seconds
image: golang:1.9 image: golang:1.9
stages:
- test
- report
before_script: before_script:
- export GOPATH=/builds/go - export GOPATH=/builds/go
- export REPONAME=$(basename $CI_PROJECT_DIR) - export REPONAME=$(basename $CI_PROJECT_DIR)
...@@ -9,15 +13,16 @@ before_script: ...@@ -9,15 +13,16 @@ before_script:
- cd $GOPATH/src/gitlab.com/$GROUPNAME - cd $GOPATH/src/gitlab.com/$GROUPNAME
- ln -s $CI_PROJECT_DIR - ln -s $CI_PROJECT_DIR
- cd $CI_PROJECT_NAME - cd $CI_PROJECT_NAME
- pwd - go get -u github.com/golang/dep/cmd/dep
- go get -u github.com/golang/dep/cmd/dep - dep ensure
- dep ensure - go build
build: test:
stage: test
script: script:
- go test ./... -v -cover - go test ./... -v -cover
- go build
artifacts: report:
paths: stage: report
- gitlab-patcher script:
expire_in: 1 week - ls -la oncall-robot-assistant
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