2016-12-12 21:23:47 +03:00
|
|
|
language: go
|
|
|
|
go: 1.7.x
|
2016-12-13 19:37:26 +03: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 19:39:02 +03:00
|
|
|
- go get ./...
|
2016-12-12 21:23:47 +03:00
|
|
|
script:
|
|
|
|
- make install
|
|
|
|
- make test
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/local
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- "PATH=$PATH:$HOME/local/bin"
|