提交 46ec4357 编写于 作者: P Péter Szilágyi 提交者: GitHub

Merge pull request #3698 from karalabe/govet-latest-only

travis: only run go vet and misspell on latest Go
...@@ -14,11 +14,20 @@ matrix: ...@@ -14,11 +14,20 @@ matrix:
- os: linux - os: linux
dist: trusty dist: trusty
go: 1.7.5 go: 1.7.5
# These are the latest Go versions, only run go vet and misspell on these
- os: linux - os: linux
dist: trusty dist: trusty
go: 1.8 go: 1.8
script:
- go run build/ci.go install
- go run build/ci.go test -coverage -vet -misspell
- os: osx - os: osx
go: 1.8 go: 1.8
script:
- go run build/ci.go install
- go run build/ci.go test -coverage -vet -misspell
# This builder does the Ubuntu PPA and Linux Azure uploads # This builder does the Ubuntu PPA and Linux Azure uploads
- os: linux - os: linux
...@@ -138,7 +147,7 @@ install: ...@@ -138,7 +147,7 @@ install:
- go get golang.org/x/tools/cmd/cover - go get golang.org/x/tools/cmd/cover
script: script:
- go run build/ci.go install - go run build/ci.go install
- go run build/ci.go test -coverage -vet -misspell - go run build/ci.go test -coverage
notifications: notifications:
webhooks: webhooks:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册