2015-04-06 18:30:59 +03:00
|
|
|
box: google/golang@1.4.0
|
2015-04-06 18:29:54 +03:00
|
|
|
|
|
|
|
# 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"
|