mirror of
https://github.com/taigrr/godns
synced 2025-01-18 04:03:25 -08:00
Update gitlab ci config file
This commit is contained in:
parent
4fc2c57fff
commit
9e365517fb
@ -1,15 +1,21 @@
|
|||||||
stages:
|
stages:
|
||||||
|
- init
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
init-env:
|
||||||
|
stage: init
|
||||||
|
script:
|
||||||
|
- export CURRENT_BUILD_PATH=/builds/timothy/godns
|
||||||
build-my-project:
|
build-my-project:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- cd $CURRENT_BUILD_PATH
|
- cd $CURRENT_BUILD_PATH
|
||||||
|
- go get
|
||||||
- go build
|
- go build
|
||||||
|
|
||||||
test-my-project:
|
test-my-project:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- cd $CURRENT_BUILD_PATH
|
- cd $CURRENT_BUILD_PATH
|
||||||
- go test
|
- go test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user