Export GOPATH every time
This commit is contained in:
parent
7b36c2fd33
commit
5bb18cc458
|
@ -3,6 +3,7 @@ image: git.meow.tf:4567/tyler/golang-glide:1.8
|
|||
before_script:
|
||||
- export VERSION=`grep "VERSION" src/meow.tf/deb-simple/server.go | head -n 1 | awk '{print $5}' | sed -e 's/^"//' -e 's/"$//' | tr -d '\n'`
|
||||
- chmod +x packaging/build-package.sh
|
||||
- export GOPATH=`pwd`
|
||||
|
||||
stages:
|
||||
- init
|
||||
|
@ -17,7 +18,6 @@ cache:
|
|||
glide-install:
|
||||
stage: init
|
||||
script:
|
||||
- export GOPATH=`pwd`
|
||||
- cd $CI_PROJECT_DIR/src/meow.tf/deb-simple
|
||||
- glide install
|
||||
- cd $CI_PROJECT_DIR
|
||||
|
|
Loading…
Reference in New Issue