protoc-gen-go-micro/.travis.yml

19 lines
630 B
YAML
Raw Normal View History

2016-12-12 19:23:47 +01:00
language: go
go: 1.11.x
go_import_path: moul.io/protoc-gen-gotemplate
2016-12-13 17:37:26 +01:00
install:
2017-04-01 09:09:19 +02:00
- go get github.com/Masterminds/glide
2019-01-18 19:39:16 +01:00
- wget https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/v1.5.0/.travis/install-protoc.sh && chmod +x install-protoc.sh && ./install-protoc.sh 3.4.0
2017-03-16 16:16:45 +01:00
- go get -u github.com/golang/protobuf/protoc-gen-go
- go get github.com/securego/gosec/cmd/gosec/...
2019-01-20 06:58:14 +01:00
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.12.2
2016-12-12 19:23:47 +01:00
script:
- make install
- make test
2019-01-20 06:58:14 +01:00
- PATH=$PATH:$(pwd)/bin make lint
2016-12-12 19:23:47 +01:00
cache:
directories:
- $HOME/local
env:
global:
- "PATH=$PATH:$HOME/local/bin"