forked from asteris-llc/converge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
31 lines (27 loc) · 922 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
box: golang
build:
steps:
# Sets the go workspace and places you package
# at the right place in the workspace tree
- setup-go-workspace
# install graphviz
- script:
name: install graphviz
code: |
apt-get update
apt-get install -y graphviz
# install protoc
- script:
name: install protoc
code: |
apt-get install -y unzip
wget https://github.com/google/protobuf/releases/download/v3.0.0/protoc-3.0.0-linux-x86_64.zip
unzip protoc-3.0.0-linux-x86_64.zip
mv bin/* /usr/bin/
mv include/google /usr/include/google
go get -v github.com/golang/protobuf/protoc-gen-go github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
# Test the project
- script:
name: go test
code: |
make test