This commit is contained in:
Neven Miculinic 2019-03-28 16:29:16 +01:00
parent 8e26600493
commit 8f048ca6d8

View File

@ -6,8 +6,8 @@ go_build:
variables: variables:
CGO_ENABLED: 0 CGO_ENABLED: 0
script: script:
- mkdir -p .cache/cache - mkdir -p .cache/cache || true
- mkdir -p .cache/go - mkdir -p .cache/go || true
- export GOCACHE="$CI_PROJECT_DIR/.cache/cache" - export GOCACHE="$CI_PROJECT_DIR/.cache/cache"
- export GOPATH="$CI_PROJECT_DIR/.cache/go" - export GOPATH="$CI_PROJECT_DIR/.cache/go"
- CGO_ENABLED=1 go test -race ./... - CGO_ENABLED=1 go test -race ./...