2016-12-12 19:23:47 +01:00
|
|
|
language: go
|
2017-04-01 09:09:19 +02:00
|
|
|
go: 1.8.x
|
2016-12-13 17:37:26 +01:00
|
|
|
install:
|
2017-04-01 09:09:19 +02:00
|
|
|
- go get github.com/Masterminds/glide
|
2018-08-09 10:23:10 +02: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 16:16:45 +01:00
|
|
|
- go get -u github.com/golang/protobuf/protoc-gen-go
|
2018-08-09 10:23:10 +02:00
|
|
|
- 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"
|