test: Allow devel versions to run gofmt
Let tip builds pass in travis too!
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user