box: wercker/golang
# Add services here
# Build definition
build:
  # The steps that will be executed on 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 github.com/robfig/revel/revel

    # Build the project
    - script:
        name: revel build
        code: |
          revel build github.com/slogsdon/acvte $WERCKER_SOURCE_DIR/build/acvte

    # Test the project
    - script:
        name: revel test
        code: |
          revel test github.com/slogsdon/acvte
box: wercker/golang
# Add services here
# Build definition
build:
  # The steps that will be executed on 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 github.com/robfig/revel/revel

    # Build the project
    - script:
        name: revel build
        code: |
          revel build $WERCKER_SOURCE_DIR $WERCKER_SOURCE_DIR/build/acvte

    # Test the project
    - script:
        name: revel test
        code: |
          revel test $WERCKER_SOURCE_DIR

Switch to build and test with env var
Switch to build and test with env var

This allows my fork to build without changing package paths