Update .gitlab-ci.yml
This commit is contained in:
parent
707bb416b6
commit
d3d49393ce
|
@ -15,7 +15,6 @@
|
|||
stages:
|
||||
- install-environment
|
||||
- build
|
||||
- test
|
||||
|
||||
install-go:
|
||||
stage: install-environment
|
||||
|
@ -38,14 +37,8 @@ install-go:
|
|||
- go env
|
||||
- which go
|
||||
|
||||
build-my-project:
|
||||
build-warehost:
|
||||
stage: build
|
||||
script:
|
||||
- cd $CURRENT_BUILD_PATH
|
||||
- cd $CURRENT_BUILD_PATH/cmd/warehost
|
||||
- go build
|
||||
|
||||
test-my-project:
|
||||
stage: test
|
||||
script:
|
||||
- cd $CURRENT_BUILD_PATH
|
||||
- go test
|
||||
|
|
Reference in New Issue