tests(ci): add golint code checker to travis-ci.org config
diff --git a/.travis.yml b/.travis.yml
index c3e33d6..46346f0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,6 +9,12 @@
     - 1.2.1
     - tip
 
-install: go get -d -v ./... && go build -v .
+before_install:
+    - go get -v github.com/golang/lint/golint
 
-script: go test -v .
+install:
+    - go get -d -v ./... && go build -v .
+
+script:
+    - $HOME/gopath/bin/golint .
+    - go test -v .
diff --git a/docopt.go b/docopt.go
index c44a123..fe79a53 100644
--- a/docopt.go
+++ b/docopt.go
@@ -947,7 +947,7 @@
 			// could it be that something didn't match but changed l or c?
 			matched, l, c = p.children[0].match(l, c)
 			if matched {
-				times += 1
+				times++
 			}
 			if lAlt == l {
 				break