only run static checks for Go 1.10 build, not all of them

This commit is contained in:
Josh Humphries 2018-07-16 15:32:35 -04:00
parent 9d19f10af7
commit 82f4e30b0b
1 changed files with 6 additions and 4 deletions

View File

@ -3,10 +3,12 @@ sudo: false
matrix: matrix:
include: include:
- go: 1.7 - go: "1.7"
- go: 1.8 - go: "1.8"
- go: 1.9 - go: "1.9"
- go: "1.10"
env: VET=1
- go: tip - go: tip
script: script:
- make - if [[ "$VET" = 1 ]]; then make; else make deps test; fi