# This references the default golang container from
# the Docker Hub: https://registry.hub.docker.com/u/library/golang/
# If you want Google's container you would reference google/golang
# Read more about containers on our dev center
# http://devcenter.wercker.com/docs/containers/index.html
box: golang
build:
  - script:
      name: go get
      code: |
        cd $WERCKER_SOURCE_DIR
        go version
        go get -u github.com/tools/godep
		export PATH=$WERCKER_SOURCE_DIR/bin:$PATH

  # The steps that will be executed on build
  # Steps make up the actions in your pipeline
  # Read more about steps on our dev center:
  # http://devcenter.wercker.com/docs/steps/index.html
  steps:
    # Sets the go workspace and places you package
    # at the right place in the workspace tree
    - setup-go-workspace

    # Gets the dependencies

    # Build the project
    - script:
        name: godep go build
        code: |
          godep go build ./...

    # Test the project
    - script:
        name: godep go test
        code: |
          godep go test ./...

# This references the default golang container from
# the Docker Hub: https://registry.hub.docker.com/u/library/golang/
# If you want Google's container you would reference google/golang
# Read more about containers on our dev center
# http://devcenter.wercker.com/docs/containers/index.html
box: golang
build:
  - script:
      name: go get
      code: |
        cd $WERCKER_SOURCE_DIR
        go version
        go get -u github.com/tools/godep
        export PATH=$WERCKER_SOURCE_DIR/bin:$PATH

  # The steps that will be executed on build
  # Steps make up the actions in your pipeline
  # Read more about steps on our dev center:
  # http://devcenter.wercker.com/docs/steps/index.html
  steps:
    # Sets the go workspace and places you package
    # at the right place in the workspace tree
    - setup-go-workspace

    # Gets the dependencies

    # Build the project
    - script:
        name: godep go build
        code: |
          godep go build ./...

    # Test the project
    - script:
        name: godep go test
        code: |
          godep go test ./...

Update wreker to use godep
Update wreker to use godep
