boltstore/wercker.yml

29 lines
606 B
YAML
Raw Normal View History

2014-06-17 10:01:29 +04:00
box: yosssi/golang-latest@1.0.2
2014-06-17 09:44:09 +04:00
# 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
# Gets the dependencies
- script:
name: go get
code: |
cd $WERCKER_SOURCE_DIR
go version
go get -t ./...
# Build the project
- script:
name: go build
code: |
go build ./...
# Test the project
- script:
name: go test
code: |
go test --cover ./...