2016-12-12 19:23:47 +01:00
|
|
|
language: go
|
|
|
|
go: 1.7.x
|
2016-12-13 17:37:26 +01:00
|
|
|
install:
|
|
|
|
- wget https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/.travis/install-protoc.sh && chmod +x install-protoc.sh && ./install-protoc.sh 3.1.0
|
|
|
|
- go get github.com/gogo/protobuf/protoc-gen-gogo
|
2016-12-13 17:39:02 +01:00
|
|
|
- go get ./...
|
2016-12-12 19:23:47 +01:00
|
|
|
script:
|
|
|
|
- make install
|
|
|
|
- make test
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/local
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- "PATH=$PATH:$HOME/local/bin"
|