2016-12-12 21:23:47 +03:00
|
|
|
language: go
|
2018-09-12 21:29:07 +03:00
|
|
|
go: 1.11.x
|
|
|
|
go_import_path: moul.io/protoc-gen-gotemplate
|
2016-12-13 19:37:26 +03:00
|
|
|
install:
|
2017-04-01 10:09:19 +03:00
|
|
|
- go get github.com/Masterminds/glide
|
2018-08-09 11:23:10 +03:00
|
|
|
- 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
|
2017-03-16 18:16:45 +03:00
|
|
|
- go get -u github.com/golang/protobuf/protoc-gen-go
|
2018-08-09 11:23:10 +03:00
|
|
|
- go get github.com/securego/gosec/cmd/gosec/...
|
2017-12-25 11:17:09 +03:00
|
|
|
- go get -u github.com/alecthomas/gometalinter
|
|
|
|
- gometalinter --install
|
2016-12-12 21:23:47 +03:00
|
|
|
script:
|
|
|
|
- make install
|
|
|
|
- make test
|
2017-12-25 11:17:09 +03:00
|
|
|
- make lint
|
2016-12-12 21:23:47 +03:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/local
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- "PATH=$PATH:$HOME/local/bin"
|