Skip to content

Commit 46ec435

Browse files
authored
Merge pull request bnb-chain#3698 from karalabe/govet-latest-only
travis: only run go vet and misspell on latest Go
2 parents 388803b + c6e716e commit 46ec435

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

‎.travis.yml‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,20 @@ matrix:
1414
- os: linux
1515
dist: trusty
1616
go: 1.7.5
17+
18+
# These are the latest Go versions, only run go vet and misspell on these
1719
- os: linux
1820
dist: trusty
1921
go: 1.8
22+
script:
23+
- go run build/ci.go install
24+
- go run build/ci.go test -coverage -vet -misspell
25+
2026
- os: osx
2127
go: 1.8
28+
script:
29+
- go run build/ci.go install
30+
- go run build/ci.go test -coverage -vet -misspell
2231

2332
# This builder does the Ubuntu PPA and Linux Azure uploads
2433
- os: linux
@@ -138,7 +147,7 @@ install:
138147
- go get golang.org/x/tools/cmd/cover
139148
script:
140149
- go run build/ci.go install
141-
- go run build/ci.go test -coverage -vet -misspell
150+
- go run build/ci.go test -coverage
142151

143152
notifications:
144153
webhooks:

0 commit comments

Comments
 (0)