Travis build script update to include go fmt & vet checks; Build status, GoDoc and Go Report badges added to README (#27)
diff --git a/.travis.yml b/.travis.yml
index 120c8e0..893fe27 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,4 +12,6 @@
- glide install --strip-vendor
script:
- - go test
+ - diff -u <(echo -n) <(gofmt -d $(git ls-files | grep '.go$' | grep -v vendor))
+ - go vet $(glide novendor)
+ - go test -cover $(glide novendor)
diff --git a/README.md b/README.md
index f9c5381..2420d3b 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,9 @@
# apidGatewayConfDeploy
+[](https://travis-ci.org/apid/apidGatewayConfDeploy) [](https://godoc.org/github.com/apid/apidGatewayConfDeploy) [](https://goreportcard.com/report/github.com/apid/apidGatewayConfDeploy)
+
apidGatewayConfDeploy is a plugin for
-[apid](http://github.com/30x/apid).
+[apid](http://github.com/apid/apid).
Gateways acting as clients will connect to apid; and this plugin will
offer configuration updates that occur in the management. The plugin
diff --git a/api_test.go b/api_test.go
index bcd177a..515085a 100644
--- a/api_test.go
+++ b/api_test.go
@@ -397,7 +397,7 @@
Expect(string(body)).Should(Equal(randString))
})
- It("should get error reponse", func() {
+ It("should get error response", func() {
// setup http client
uri, err := url.Parse(apiTestUrl)
Expect(err).Should(Succeed())