build: Require golang 1.6 or greater

This commit is contained in:
James Shubin
2017-02-20 15:17:49 -05:00
parent b7948c7f40
commit 573a76eedb

View File

@@ -57,8 +57,8 @@ if [ $travis -eq 0 ]; then
fi fi
# if golang is too old, we don't want to fail with an obscure error later # if golang is too old, we don't want to fail with an obscure error later
if go version | grep 'go1\.[0123]\.'; then if go version | grep 'go1\.[012345]\.'; then
echo "mgmt requires go1.4 or higher." echo "mgmt requires go1.6 or higher."
exit 1 exit 1
fi fi