gotty/wercker.yml

33 lines
672 B
YAML
Raw Normal View History

2015-10-12 02:57:14 +00:00
box: golang:1.5.1
2015-08-16 22:00:38 +00:00
build:
steps:
- setup-go-workspace
- script:
2015-10-12 02:57:14 +00:00
name: tools
code: make tools
- script:
name: deps
code: make deps
- script:
name: test
code: make test
- script:
name: cross compile
code: make cross_compile OUTPUT_DIR=$WERCKER_OUTPUT_DIR
- script:
name: targz
code: make targz OUTPUT_DIR=$WERCKER_OUTPUT_DIR
- script:
name: store Makefile
code: cp Makefile $WERCKER_OUTPUT_DIR/
2015-08-16 22:00:38 +00:00
deploy:
steps:
2015-10-12 02:57:14 +00:00
- script:
name: tools
code: make tools
- script:
name: release
code: make release OUTPUT_DIR=.