mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
375ad1185c
* *: bump gRPC dependencies This change updates the gRPC dependencies to more recent versions: * github.com/gogo/protobuf => v1.2.0 * github.com/grpc-ecosystem/grpc-gateway => v1.6.3 * google.golang.org/grpc => v1.17.0 In addition scripts/genproto.sh leverages Go modules information instead of hardcoding SHA1 commits. This ensures that the code is generated from the exact same sources. Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Run 'make proto' in CI Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Revert tabs -> spaces change Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Fix 'make proto' step Signed-off-by: Simon Pasquier <spasquie@redhat.com> * 'go get' grpc/protobuf dependencies Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Prepopulate cache with go mod download Signed-off-by: Simon Pasquier <spasquie@redhat.com>
25 lines
734 B
YAML
25 lines
734 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.6.x
|
|
- 1.7.x
|
|
- 1.8.x
|
|
- 1.9.x
|
|
|
|
go_import_path: google.golang.org/appengine
|
|
|
|
install:
|
|
- go get -u -v $(go list -f '{{join .Imports "\n"}}{{"\n"}}{{join .TestImports "\n"}}' ./... | sort | uniq | grep -v appengine)
|
|
- mkdir /tmp/sdk
|
|
- curl -o /tmp/sdk.zip "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.40.zip"
|
|
- unzip -q /tmp/sdk.zip -d /tmp/sdk
|
|
- export PATH="$PATH:/tmp/sdk/go_appengine"
|
|
- export APPENGINE_DEV_APPSERVER=/tmp/sdk/go_appengine/dev_appserver.py
|
|
|
|
script:
|
|
- goapp version
|
|
- go version
|
|
- go test -v google.golang.org/appengine/...
|
|
- go test -v -race google.golang.org/appengine/...
|
|
- goapp test -v google.golang.org/appengine/...
|