Commit f7d9afb7 authored by Erick Hitter's avatar Erick Hitter

Deps everywhere, otherwise I have to install gox everywhere

https://docs.gitlab.com/ce/ci/yaml/#special-yaml-features
parent d5c739bf
Pipeline #223 failed
...@@ -15,7 +15,7 @@ stages: ...@@ -15,7 +15,7 @@ stages:
- test - test
- build - build
before_script: before_script: &before_script
- mkdir -p $GOPATH/src/$(dirname $REPO_NAME) - mkdir -p $GOPATH/src/$(dirname $REPO_NAME)
- cp -R $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME - cp -R $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME
- cd $GOPATH/src/$REPO_NAME - cd $GOPATH/src/$REPO_NAME
...@@ -63,7 +63,7 @@ lint_code: ...@@ -63,7 +63,7 @@ lint_code:
build: build:
stage: build stage: build
before_script: before_script: *before_script
- go get github.com/mitchellh/gox - go get github.com/mitchellh/gox
script: script:
- gox -output="${CI_PROJECT_DIR}/${PROJECT_NAME}/{{.Dir}}_{{.OS}}_{{.Arch}}" -parallel=6 - gox -output="${CI_PROJECT_DIR}/${PROJECT_NAME}/{{.Dir}}_{{.OS}}_{{.Arch}}" -parallel=6
......
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