Skip consul tests on Go 1.9

This commit is contained in:
Marius 2018-07-14 22:08:16 +02:00 committed by GitHub
parent 284ee974bc
commit 07852c5b1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ goversion=$(go version)
if [[ "$goversion" == *"go1.5"* ]] || if [[ "$goversion" == *"go1.5"* ]] ||
[[ "$goversion" == *"go1.6"* ]] || [[ "$goversion" == *"go1.6"* ]] ||
[[ "$goversion" == *"go1.7"* ]] || [[ "$goversion" == *"go1.7"* ]] ||
[[ "$goversion" == *"go1.8"* ]]; then [[ "$goversion" == *"go1.8"* ]]
[[ "$goversion" == *"go1.9"* ]]; then
echo "Skipping tests requiring Consul which is not supported on $goversion" echo "Skipping tests requiring Consul which is not supported on $goversion"