From c6e716eb31309b5ce85da67e25c9f96e981f3a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Wed, 22 Feb 2017 15:40:28 +0200 Subject: [PATCH] travis: only run go vet and misspell on latest Go --- .travis.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index af7f45a2ff..8ea8704ff4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,11 +14,20 @@ matrix: - os: linux dist: trusty go: 1.7.5 + + # These are the latest Go versions, only run go vet and misspell on these - os: linux dist: trusty go: 1.8 + script: + - go run build/ci.go install + - go run build/ci.go test -coverage -vet -misspell + - os: osx 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 - os: linux @@ -138,7 +147,7 @@ install: - go get golang.org/x/tools/cmd/cover script: - go run build/ci.go install - - go run build/ci.go test -coverage -vet -misspell + - go run build/ci.go test -coverage notifications: webhooks: