From b3ea33f88d2585949cf99c2e542dcf86d892e82e Mon Sep 17 00:00:00 2001 From: James Shubin Date: Wed, 21 Dec 2016 02:48:50 -0500 Subject: [PATCH] test: Allow devel versions to run gofmt Let tip builds pass in travis too! --- test/test-gofmt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-gofmt.sh b/test/test-gofmt.sh index 41dfed7e..920fd413 100755 --- a/test/test-gofmt.sh +++ b/test/test-gofmt.sh @@ -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