Commit 382a862c authored by Thomas Bella's avatar Thomas Bella

Disable CGO

parent 40b40f60
Pipeline #1058 failed with stages
in 45 seconds
......@@ -10,8 +10,8 @@ test:
stage: test
script:
# We have to use env GO111MODULE=on as long as modules aren't stable
- env GO111MODULE=on go fmt $(go list ./...)
- env GO111MODULE=on go vet $(go list ./...)
- env GO111MODULE=on CGO_ENABLED=0 go fmt $(go list ./...)
- env GO111MODULE=on CGO_ENABLED=0 go vet $(go list ./...)
- env GO111MODULE=on CGO_ENABLED=0 go test -v -cover -coverprofile=profile.out -covermode=atomic $(go list ./...) && mkdir coverage && go tool cover -html=profile.out -o coverage/index.html
artifacts:
expire_in: 1 hour
......
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