travis, test: use Go 1.6.4, skip 'gosimple'

This commit is contained in:
Gyu-Ho Lee 2016-12-07 10:07:43 -08:00
parent 11668f53db
commit 3a8b524d36
2 changed files with 1 additions and 11 deletions

View File

@ -4,8 +4,7 @@ go_import_path: github.com/coreos/etcd
sudo: false sudo: false
go: go:
- 1.6 - 1.6.4
- tip
env: env:
global: global:

9
test
View File

@ -125,15 +125,6 @@ function fmt_tests {
fi fi
if which gosimple >/dev/null; then if which gosimple >/dev/null; then
echo "Checking gosimple..."
for path in $GOSIMPLE_UNUSED_PATHS; do
simplResult=`gosimple $REPO_PATH/${path} || true`
if [ -n "${simplResult}" ]; then
echo -e "gosimple checking ${path} failed:\n${simplResult}"
exit 255
fi
done
else
echo "Skipping gosimple..." echo "Skipping gosimple..."
fi fi