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:
|
||||
- init
|
||||
- build
|
||||
- test
|
||||
|
||||
init-env:
|
||||
stage: init
|
||||
script:
|
||||
- export CURRENT_BUILD_PATH=/builds/timothy/godns
|
||||
build-my-project:
|
||||
stage: build
|
||||
script:
|
||||
- cd $CURRENT_BUILD_PATH
|
||||
- cd $CURRENT_BUILD_PATH
|
||||
- go get
|
||||
- go build
|
||||
|
||||
test-my-project:
|
||||
stage: test
|
||||
script:
|
||||
- cd $CURRENT_BUILD_PATH
|
||||
- go test
|
||||
- go test
|
||||
|
Loading…
x
Reference in New Issue
Block a user