sum7/warehost
sum7
/
warehost
Archived
1
0
Fork 0

Update .gitlab-ci.yml

This commit is contained in:
Geno 2016-09-22 15:06:42 +00:00
parent b4c9da200b
commit 6be3652505
1 changed files with 5 additions and 14 deletions

View File

@ -1,17 +1,3 @@
# See docs/examples here:
# http://doc.gitlab.com/ce/ci/quick_start/README.html
# http://doc.gitlab.com/ce/ci/yaml/README.html
# GitLab CI template for Go tests. Note this installs
# a new working copy of Go (1.5.2 in this case)
# in a non-standard path such that sudo/root is not
# needed for the install stage.
# note that this particular install-environment stage
# is overly verbose in order to debug anything tricky
# or weird in your environment - feel free to trim it
# down as needed
stages:
- install-environment
- build
@ -40,5 +26,10 @@ install-go:
build-warehost:
stage: build
script:
- export GOROOT=$HOME/golang/go
- export GOPATH=$HOME/gopath
- export PATH=$PATH:$GOROOT/bin
- export PATH=$PATH:$GOPATH/bin
- go env
- cd $CURRENT_BUILD_PATH/cmd/warehost
- go build