* Fix code formatting
* Ensure CI fails on unformatted code
language: go
go:
-- 1.5.4
-- 1.6.2
+- 1.7.5
+- 1.8
script:
- make
DOCKER_IMAGE_TAG ?= $(subst /,-,$(shell git rev-parse --abbrev-ref HEAD))
-all: format build test
+all: style build test
style:
@echo ">> checking code style"
return net.Dial(dialProtocol, address)
}
client.Transport = &http.Transport{
- TLSClientConfig: tlsconfig,
- Dial: dial,
- Proxy: http.ProxyFromEnvironment,
+ TLSClientConfig: tlsconfig,
+ Dial: dial,
+ Proxy: http.ProxyFromEnvironment,
DisableKeepAlives: true,
}