forked from rosspeoples/app-metrics-nozzle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
42 lines (37 loc) · 918 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
32
33
34
35
36
37
38
39
40
41
42
box: golang
build:
steps:
- wercker/setup-go-workspace:
package-dir: app-metrics-nozzle
# Gets the dependencies
- script:
name: go get
code: |
cd $WERCKER_SOURCE_DIR
go version
go get github.com/Masterminds/glide
go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega
export PATH=$WERCKER_SOURCE_DIR/bin:$PATH
glide --version
glide install
- script:
name: go build
code: |
go build
- script:
name: go test
code: |
go test $(glide novendor) -v -cover
deploy:
steps:
- xchapter7x/cf-push-zdd:
num_instances: 1
user_name: $cfuser
user_pass: $cfpass
org: $cforg
space: $cfspace
api_url: $cfurl
app_name: $cfappname
use_manifest: true
no_start: true