Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit e959b37

Browse files
committed
Update gofmt and travis config
1 parent 05f8d12 commit e959b37

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: go
99

1010
matrix:
1111
include:
12-
- go: 1.4
12+
- go: 1.6
1313

1414
install:
1515
- mkdir -p $HOME/gopath/src/k8s.io
@@ -24,8 +24,8 @@ install:
2424
- go get github.com/mattn/goveralls
2525
- go get github.com/jstemmer/go-junit-report
2626
- ./hack/install-etcd.sh
27-
- ./hack/build-go.sh
28-
- godep go install ./...
27+
- travis_wait 30 ./hack/build-go.sh
28+
- travis_wait 30 godep go install ./...
2929
- ./hack/verify-gofmt.sh
3030
- ./hack/verify-boilerplate.sh
3131
- ./hack/verify-description.sh

cmd/libs/go2idl/import-boss/generators/import_restrict.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import (
3232
"k8s.io/kubernetes/cmd/libs/go2idl/generator"
3333
"k8s.io/kubernetes/cmd/libs/go2idl/namer"
3434
"k8s.io/kubernetes/cmd/libs/go2idl/types"
35-
3635
//"github.com/golang/glog"
3736
)
3837

cmd/libs/go2idl/parser/parse_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ var FooAnotherVar proto.Frobber = proto.AnotherVar
153153
tmpl := template.Must(
154154
template.New("").
155155
Funcs(
156-
map[string]interface{}{
157-
"Name": testNamer.Name,
158-
"Raw": rawNamer.Name,
159-
}).
156+
map[string]interface{}{
157+
"Name": testNamer.Name,
158+
"Raw": rawNamer.Name,
159+
}).
160160
Parse(tmplText),
161161
)
162162
buf := &bytes.Buffer{}

pkg/kubelet/config/common_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
"k8s.io/kubernetes/pkg/apimachinery/registered"
2727
"k8s.io/kubernetes/pkg/runtime"
2828
"k8s.io/kubernetes/pkg/securitycontext"
29-
3029
//"github.com/ghodss/yaml"
3130
)
3231

0 commit comments

Comments
 (0)