# The container definition we want to use for developing our app
box: golang
build:
  steps:
    - wercker/golint
    - script:
        name: go build
        code: |
          GOOS=linux GOARCH=amd64 go build -o main
    - script:
        name: go test
        code: |
          go test ./...

# The container definition we want to use for developing our app
box: golang
build:
  steps:
    # Sets the go workspace and places you package
    # at the right place in the workspace tree
    - setup-go-workspace

    # Gets the dependencies
    - script:
        name: go get
        code: |
          cd $WERCKER_SOURCE_DIR
          go version
          go get -t ./...
    - wercker/golint
    - script:
        name: go build
        code: |
          GOOS=linux GOARCH=amd64 go build -o main
    - script:
        name: go test
        code: |
          go test ./...

Copy Hugo's solution to the Wercker dependency issue
Copy Hugo's solution to the Wercker dependency issue
