Commit 9983cb55 authored by Erick Hitter's avatar Erick Hitter

Stop being dumb

parent 2100178b
Pipeline #229 passed with stages
in 9 minutes and 37 seconds
......@@ -15,8 +15,7 @@ stages:
- test
- build
.default:
before_script: &before_script
before_script:
- mkdir -p $GOPATH/src/$(dirname $REPO_NAME)
- cp -R $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME
- cd $GOPATH/src/$REPO_NAME
......@@ -30,8 +29,6 @@ stages:
- export PKG="git.ethitter.com/debian/${PROJECT_NAME}"
- export PKG_LIST=$(go list ${PKG}/... | grep -v /vendor/)
before_script: *before_script
unit_tests:
stage: test
script:
......@@ -66,10 +63,8 @@ lint_code:
build:
stage: build
<<: *before_script
before_script:
- go get github.com/mitchellh/gox
script:
- go get github.com/mitchellh/gox
- gox -output="${CI_PROJECT_DIR}/${PROJECT_NAME}/{{.Dir}}_{{.OS}}_{{.Arch}}" -parallel=6
artifacts:
paths:
......
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