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 
    - go get
    - go build

test-my-project:
  stage: test
  script:
    - cd $CURRENT_BUILD_PATH
    - go test

image: golang:1.6.2

before_script:
  - export CURRENT_BUILD_PATH=/builds/timothy/godns

stages:
  - build
  - test

init-env:
  stage: init
  script:

build-my-project:
  stage: build
  script:
    - cd $CURRENT_BUILD_PATH 
    - go get
    - go build

test-my-project:
  stage: test
  script:
    - cd $CURRENT_BUILD_PATH
    - go test

Update gitlab ci config file
Update gitlab ci config file
