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