From 93ac07754f906c3b5ed3edd4be8b8d7c197df234 Mon Sep 17 00:00:00 2001 From: xeodou Date: Mon, 6 Apr 2015 23:35:03 +0800 Subject: [PATCH] Update wercker. --- wercker.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) 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