Commit ddcc1fb3 authored by Jakob Unterwurzacher's avatar Jakob Unterwurzacher

Go 1.12 dropped "go tool vet", use "go vet" instead

Also add Go 1.12 to Travis.
parent 17321889
......@@ -15,6 +15,7 @@ go:
- 1.9.x
- 1.10.x
- 1.11.x
- 1.12.x
- stable
before_install:
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment