...

Text file src/github.com/codeskyblue/go-sh/wercker.yml

Documentation: github.com/codeskyblue/go-sh

     1box: wercker/golang
     2# Build definition
     3build:
     4  # The steps that will be executed on build
     5  steps:
     6    # Sets the go workspace and places you package
     7    # at the right place in the workspace tree
     8    - setup-go-workspace
     9
    10    # Gets the dependencies
    11    - script:
    12        name: go get
    13        code: |
    14          cd $WERCKER_SOURCE_DIR
    15          go version
    16          go get -t .
    17
    18    # Build the project
    19    - script:
    20        name: go build
    21        code: |
    22          go build .
    23
    24    # Test the project
    25    - script:
    26        name: go test
    27        code: |
    28          go test -v ./...

View as plain text