diff --git a/wercker.yml b/wercker.yml index b30a548..7ebf001 100644 --- a/wercker.yml +++ b/wercker.yml @@ -4,12 +4,21 @@ box: wercker/golang build: # The steps that will be executed on build steps: - # A step that executes `go lint command - - go lint - # A step that executes `go get ./...` command - - go get ./... - # A step that executes `go test ./...` command - - go test + # Get the project + - script: + name: go get + code: | + go get ./... + # Lint the project + - script: + name: go lint + code: | + go lint + # Test the project + - script: + name: go test + code: | + go test # A custom script step, name value is used in the UI # and the code value contains the command that get executed