20 lines
584 B
YAML
Raw Permalink 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
- 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 16:16:45 +01:00
- go get -u github.com/golang/protobuf/protoc-gen-go
- go get github.com/securego/gosec/cmd/gosec/...
2017-12-25 09:17:09 +01:00
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
2016-12-12 19:23:47 +01:00
script:
- make install
- make test
2017-12-25 09:17:09 +01:00
- make lint
2016-12-12 19:23:47 +01:00
cache:
directories:
- $HOME/local
env:
global:
- "PATH=$PATH:$HOME/local/bin"