Export GOPATH every time

This commit is contained in:
Tyler 2017-09-11 21:17:24 -04:00
parent 7b36c2fd33
commit 5bb18cc458
1 changed files with 1 additions and 1 deletions

View File

@ -3,6 +3,7 @@ image: git.meow.tf:4567/tyler/golang-glide:1.8
before_script: 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'` - 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 - chmod +x packaging/build-package.sh
- export GOPATH=`pwd`
stages: stages:
- init - init
@ -17,7 +18,6 @@ cache:
glide-install: glide-install:
stage: init stage: init
script: script:
- export GOPATH=`pwd`
- cd $CI_PROJECT_DIR/src/meow.tf/deb-simple - cd $CI_PROJECT_DIR/src/meow.tf/deb-simple
- glide install - glide install
- cd $CI_PROJECT_DIR - cd $CI_PROJECT_DIR