Update wercker.
This commit is contained in:
parent
db2c18e41e
commit
93ac07754f
21
wercker.yml
21
wercker.yml
|
@ -4,12 +4,21 @@ box: wercker/golang
|
||||||
build:
|
build:
|
||||||
# The steps that will be executed on build
|
# The steps that will be executed on build
|
||||||
steps:
|
steps:
|
||||||
# A step that executes `go lint command
|
# Get the project
|
||||||
- go lint
|
- script:
|
||||||
# A step that executes `go get ./...` command
|
name: go get
|
||||||
- go get ./...
|
code: |
|
||||||
# A step that executes `go test ./...` command
|
go get ./...
|
||||||
- go test
|
# 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
|
# A custom script step, name value is used in the UI
|
||||||
# and the code value contains the command that get executed
|
# and the code value contains the command that get executed
|
||||||
|
|
Loading…
Reference in New Issue