forked from krujos/scaleover-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
31 lines (28 loc) · 871 Bytes
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This references the default golang container from
# the Docker Hub: https://registry.hub.docker.com/u/library/golang/
# If you want Google's container you would reference google/golang
# Read more about containers on our dev center
# http://devcenter.wercker.com/docs/containers/index.html
box: golang
build:
steps:
# Sets the go workspace and places you package
# at the right place in the workspace tree
- setup-go-workspace
- script:
name: go get
code: |
cd $WERCKER_SOURCE_DIR
go version
go get -u github.com/tools/godep
export PATH=$WERCKER_SOURCE_DIR/bin:$PATH
# Build the project
- script:
name: godep go build
code: |
godep go build ./...
# Test the project
- script:
name: godep go test
code: |
godep go test ./...