Skip to content

Commit

Permalink
.travis.yml: move Travis to Go1.11 (census-instrumentation#172)
Browse files Browse the repository at this point in the history
* Move Travis to go 1.11

We are using go.mod files to manage the packages consumed by the project,
so we need to move to go 1.11 where the feature is actually available.

* Fix gofmt when upgrading to go 1.11
  • Loading branch information
Paulo Janotti authored Nov 8, 2018
1 parent 628b230 commit 723d740
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ language: go
go_import_path: github.com/census-instrumentation/opencensus-service

go:
- 1.10.x
- 1.11.x

env:
global:
GO111MODULE=on

install:
- make install-tools
- go get -t -v ./...
- go get -v ./...
12 changes: 6 additions & 6 deletions receiver/zipkin/proto_parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ func TestConvertSpansToTraceSpans_protobuf(t *testing.T) {
Name: "svc-1",
},
Attributes: map[string]string{
"ipv4": "192.168.0.1",
"serviceName": "svc-1",
"port": "8009",
"ipv4": "192.168.0.1",
"serviceName": "svc-1",
"port": "8009",
"zipkin.remoteEndpoint.serviceName": "memcached",
"zipkin.remoteEndpoint.ipv6": "fe80::1453:a77c:da4d:d21b",
"zipkin.remoteEndpoint.port": "11211",
Expand All @@ -145,9 +145,9 @@ func TestConvertSpansToTraceSpans_protobuf(t *testing.T) {
Name: "search",
},
Attributes: map[string]string{
"ipv4": "10.0.0.13",
"serviceName": "search",
"port": "8009",
"ipv4": "10.0.0.13",
"serviceName": "search",
"port": "8009",
"zipkin.remoteEndpoint.serviceName": "redis",
"zipkin.remoteEndpoint.ipv6": "fe80::1453:a77c:da4d:d21b",
"zipkin.remoteEndpoint.port": "6379",
Expand Down

0 comments on commit 723d740

Please sign in to comment.