Commit b3e94a77 authored by Mads's avatar Mads

Fixed gitlab ci

parent 5288ee7a
Pipeline #19447335 passed with stages
in 1 minute and 44 seconds
stages:
- compile
- build
- test
variables:
......@@ -7,7 +7,7 @@ variables:
build:
image: golang
stage: compile
stage: build
script:
- mkdir -p $GOPATH/src/$REPO_NAME
- cp -rf $CI_PROJECT_DIR/* $GOPATH/src/$REPO_NAME/
......@@ -16,6 +16,7 @@ build:
test:
image: golang
stage: build
stage: test
script:
- go test
- go test -race -coverprofile=coverage.txt -covermode=atomic
- bash <(curl -s https://codecov.io/bash)
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