Add wercker.

This commit is contained in:
xeodou 2015-04-06 23:29:54 +08:00
parent c659bdbdea
commit 3f004c6230
1 changed files with 19 additions and 0 deletions

19
wercker.yml Normal file
View File

@ -0,0 +1,19 @@
box: wercker/golang@1.4.0
# Build definition
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
# A custom script step, name value is used in the UI
# and the code value contains the command that get executed
- script:
name: echo golang information
code: |
echo "go version $(go -v) running"