protoc-gen-gotemplate/.travis.yml
2017-03-16 17:20:57 +01:00

15 lines
423 B
YAML

language: go
go: 1.7.x
install:
- mkdir -p $GOPATH/bin && curl https://glide.sh/get | sh
- 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 -u github.com/golang/protobuf/protoc-gen-go
script:
- make install
- make test
cache:
directories:
- $HOME/local
env:
global:
- "PATH=$PATH:$HOME/local/bin"