mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
travis, test: use Go 1.6.4, skip 'gosimple'
This commit is contained in:
parent
11668f53db
commit
3a8b524d36
@ -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
9
test
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user