Browse Source

Fix the CI build failing on master from "go tool vet" command. (#442)

Also update the text around supported Go versions - refer to the
Go's policy on that which is two latest major releases.
Alexey Alexandrov 6 years ago
parent
commit
fe60075897
No account linked to committer's email address
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      .travis.yml
  2. 1
    1
      README.md

+ 1
- 1
.travis.yml View File

53
 script:
53
 script:
54
   - gofmtdiff=$(gofmt -s -d .) && if [ -n "$gofmtdiff" ]; then printf 'gofmt -s found:\n%s\n' "$gofmtdiff" && exit 1; fi
54
   - gofmtdiff=$(gofmt -s -d .) && if [ -n "$gofmtdiff" ]; then printf 'gofmt -s found:\n%s\n' "$gofmtdiff" && exit 1; fi
55
   - golintlint=$(golint ./...) && if [ -n "$golintlint" ]; then printf 'golint found:\n%s\n' "$golintlint" && exit 1; fi
55
   - golintlint=$(golint ./...) && if [ -n "$golintlint" ]; then printf 'golint found:\n%s\n' "$golintlint" && exit 1; fi
56
-  - go tool vet -all .
56
+  - go vet -all ./...
57
   - gosimple ./...
57
   - gosimple ./...
58
   - ./test.sh
58
   - ./test.sh
59
 
59
 

+ 1
- 1
README.md View File

27
 
27
 
28
 Prerequisites:
28
 Prerequisites:
29
 
29
 
30
-- Go development kit. Requires Go 1.9 or newer.
30
+- Go development kit of a [supported version](https://golang.org/doc/devel/release.html#policy).
31
   Follow [these instructions](http://golang.org/doc/code.html) to install the 
31
   Follow [these instructions](http://golang.org/doc/code.html) to install the 
32
   go tool and set up GOPATH.
32
   go tool and set up GOPATH.
33
 
33