Commit d9539a1c authored by Kyle Clarke's avatar Kyle Clarke 💬

The last stage built ok, but the test stage still did not have access to git,...

The last stage built ok, but the test stage still did not have access to git, before script should fix that.
parent 72ec0509
Pipeline #3982971 passed with stage
in 30 seconds
image: golang:1.7-alpine
before_script:
stages:
- install
- test
git:
stage: install
script: apk update && apk upgrade && apk add --no-cache bash git openssh
test:
stage: test
before_script:
# Required as kevin tests are in their own package
- apk update && apk upgrade && apk add --no-cache bash git openssh
- go get gitlab.com/kylehqcom/kevin
script: go test
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