test and build with golang 1.11 (#4637)

linters were failing with: pkg/urlutil/urlutil_test.go:1:⚠️ file is not gofmted with -s (gofmt)

Signed-off-by: Helgi Þorbjörnsson <helgith@gmail.com>
pull/4640/head
Helgi Þormar Þorbjörnsson 6 years ago committed by Matthew Fisher
parent e55cc79da3
commit 0029708801

@ -4,7 +4,7 @@ jobs:
working_directory: /go/src/k8s.io/helm working_directory: /go/src/k8s.io/helm
parallelism: 3 parallelism: 3
docker: docker:
- image: golang:1.10 - image: golang:1.11
environment: environment:
PROJECT_NAME: "kubernetes-helm" PROJECT_NAME: "kubernetes-helm"
steps: steps:

@ -1,6 +1,6 @@
DOCKER_REGISTRY ?= gcr.io DOCKER_REGISTRY ?= gcr.io
IMAGE_PREFIX ?= kubernetes-helm IMAGE_PREFIX ?= kubernetes-helm
DEV_IMAGE ?= golang:1.10 DEV_IMAGE ?= golang:1.11
SHORT_NAME ?= tiller SHORT_NAME ?= tiller
SHORT_NAME_RUDDER ?= rudder SHORT_NAME_RUDDER ?= rudder
TARGETS ?= darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 linux/ppc64le linux/s390x windows/amd64 TARGETS ?= darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 linux/ppc64le linux/s390x windows/amd64

@ -65,8 +65,8 @@ func TestEqual(t *testing.T) {
func TestExtractHostname(t *testing.T) { func TestExtractHostname(t *testing.T) {
tests := map[string]string{ tests := map[string]string{
"http://example.com": "example.com", "http://example.com": "example.com",
"https://example.com/foo": "example.com", "https://example.com/foo": "example.com",
"https://example.com:31337/not/with/a/bang/but/a/whimper": "example.com", "https://example.com:31337/not/with/a/bang/but/a/whimper": "example.com",
} }
for start, expect := range tests { for start, expect := range tests {

Loading…
Cancel
Save