Go 1.12 dropped "go tool vet", use "go vet" instead
Also add Go 1.12 to Travis.
This commit is contained in:
parent
173218895c
commit
ddcc1fb3aa
|
@ -15,6 +15,7 @@ go:
|
||||||
- 1.9.x
|
- 1.9.x
|
||||||
- 1.10.x
|
- 1.10.x
|
||||||
- 1.11.x
|
- 1.11.x
|
||||||
|
- 1.12.x
|
||||||
- stable
|
- stable
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
|
|
@ -48,7 +48,7 @@ if ! go tool | grep vet > /dev/null ; then
|
||||||
elif [[ -d vendor ]] ; then
|
elif [[ -d vendor ]] ; then
|
||||||
echo "vendor directory exists, skipping 'go tool vet'"
|
echo "vendor directory exists, skipping 'go tool vet'"
|
||||||
else
|
else
|
||||||
go tool vet -all -shadow .
|
go vet .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We don't want all the subprocesses
|
# We don't want all the subprocesses
|
||||||
|
|
Loading…
Reference in New Issue