1
0
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:
Timothy 2016-05-11 15:23:36 +08:00
parent 4fc2c57fff
commit 9e365517fb

View File

@ -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