4b9116a5dd
This function allows you to prefix your field of type message with what you defined in the option go_package. Moreover it handles message embedded. In this commit, I rename gometalinter gas option in gosec.
19 lines
537 B
YAML
19 lines
537 B
YAML
language: go
|
|
go: 1.8.x
|
|
install:
|
|
- go get github.com/Masterminds/glide
|
|
- wget https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/.travis/install-protoc.sh && chmod +x install-protoc.sh && ./install-protoc.sh 3.4.0
|
|
- go get -u github.com/golang/protobuf/protoc-gen-go
|
|
- go get github.com/securego/gosec/cmd/gosec/...
|
|
- go get -u github.com/alecthomas/gometalinter
|
|
- gometalinter --install
|
|
script:
|
|
- make install
|
|
- make test
|
|
- make lint
|
|
cache:
|
|
directories:
|
|
- $HOME/local
|
|
env:
|
|
global:
|
|
- "PATH=$PATH:$HOME/local/bin" |