Pārlūkot izejas kodu

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 gadus atpakaļ
vecāks
revīzija
fe60075897
No account linked to committer's email address
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1
    1
      .travis.yml
  2. 1
    1
      README.md

+ 1
- 1
.travis.yml Parādīt failu

@@ -53,7 +53,7 @@ before_install:
53 53
 script:
54 54
   - gofmtdiff=$(gofmt -s -d .) && if [ -n "$gofmtdiff" ]; then printf 'gofmt -s found:\n%s\n' "$gofmtdiff" && exit 1; fi
55 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 57
   - gosimple ./...
58 58
   - ./test.sh
59 59
 

+ 1
- 1
README.md Parādīt failu

@@ -27,7 +27,7 @@ them through the use of the native binutils tools (addr2line and nm).
27 27
 
28 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 31
   Follow [these instructions](http://golang.org/doc/code.html) to install the 
32 32
   go tool and set up GOPATH.
33 33