From 9ba3895bb3690aee199dc560e9a058ffa477b932 Mon Sep 17 00:00:00 2001 From: Nima Jalali Date: Thu, 7 Nov 2013 12:58:16 -0800 Subject: [PATCH] Wercker attempt 2 --- README.md | 2 ++ wercker.yml | 46 +++++++++++++++++++++++----------------------- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index f69520b..1425472 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ go-force ====== +[![wercker status](https://app.wercker.com/status/66ea433103de60e20ce0f96340a75828/m "wercker status")](https://app.wercker.com/project/bykey/66ea433103de60e20ce0f96340a75828) + [Golang](http://golang.org/) API wrapper for [Force.com](http://www.force.com/), [Salesforce.com](http://www.salesforce.com/) Installation diff --git a/wercker.yml b/wercker.yml index 40583eb..25217b3 100644 --- a/wercker.yml +++ b/wercker.yml @@ -1,28 +1,28 @@ box: wercker/golang -#Build definition +# 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 + # 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: get dependencies - code: | - cd $WERCKER_SOURCE_DIR - go version - go get all + # Gets the dependencies + - script: + name: go get + code: | + cd $WERCKER_SOURCE_DIR + go version + go get ./... - # Build the project - - script: - name: build - code: | - go install go-force/force + # Build the project + - script: + name: go build + code: | + go build ./... - # Test the project - - script: - name: test - code: | - go test go-force/force \ No newline at end of file + # Test the project + - script: + name: go test + code: | + go test ./... \ No newline at end of file