test: Allow devel versions to run gofmt

Let tip builds pass in travis too!
This commit is contained in:
James Shubin
2016-12-21 02:48:50 -05:00
parent 5b3425a689
commit b3ea33f88d

View File

@@ -9,7 +9,7 @@ ROOT=$(dirname "${BASH_SOURCE}")/..
GO_VERSION=($(go version))
if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.2|go1.3|go1.4|go1.5|go1.6|go1.7|go1.8') ]]; then
if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.2|go1.3|go1.4|go1.5|go1.6|go1.7|go1.8|devel') ]]; then
echo "Unknown go version '${GO_VERSION[2]}', failing gofmt."
exit 1
fi