aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2019-03-02 14:39:03 +0100
committerJakob Unterwurzacher2019-03-02 14:39:03 +0100
commitddcc1fb3aa6bcbecf26f537323dd71889873b48f (patch)
tree293c1e5cce5221888e41e2cf8ea522e9b329cb4a
parent173218895c55f381750408d9452d118b8c574f58 (diff)
Go 1.12 dropped "go tool vet", use "go vet" instead
Also add Go 1.12 to Travis.
-rw-r--r--.travis.yml1
-rwxr-xr-xtest.bash2
2 files changed, 2 insertions, 1 deletions
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