Fix environment checks for tests

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

View File

@ -11,7 +11,7 @@ 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"* ]] [[ "$goversion" == *"go1.8"* ]] ||
[[ "$goversion" == *"go1.9"* ]]; then [[ "$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"