From ddcc1fb3aa6bcbecf26f537323dd71889873b48f Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 2 Mar 2019 14:39:03 +0100 Subject: [PATCH] Go 1.12 dropped "go tool vet", use "go vet" instead Also add Go 1.12 to Travis. --- .travis.yml | 1 + test.bash | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fcf09ca..6d5eca9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,7 @@ go: - 1.9.x - 1.10.x - 1.11.x + - 1.12.x - stable before_install: diff --git a/test.bash b/test.bash index 628feff..2cdaccf 100755 --- a/test.bash +++ b/test.bash @@ -48,7 +48,7 @@ if ! go tool | grep vet > /dev/null ; then elif [[ -d vendor ]] ; then echo "vendor directory exists, skipping 'go tool vet'" else - go tool vet -all -shadow . + go vet . fi # We don't want all the subprocesses