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:53:52 +08:00
parent 874ffc64ad
commit 843ea40ea4

View File

@ -1,25 +1,19 @@
image: golang:1.6.2
before_script: before_script:
- export CURRENT_BUILD_PATH=/builds/timothy/godns - export GOPATH=$(pwd)
stages: stages:
- build - build
- test - test
init-env:
stage: init
script:
build-my-project: build-my-project:
image: go:1.6.2
stage: build stage: build
script: script:
- cd $CURRENT_BUILD_PATH
- go get - go get
- go build - go build
test-my-project: test-my-project:
image: go:1.6.2
stage: test stage: test
script: script:
- cd $CURRENT_BUILD_PATH
- go test - go test