Exclude Go1.5 instead of 1.7 from Consul tests
This commit is contained in:
parent
a4f565330b
commit
f5d87095ef
|
@ -9,7 +9,7 @@ packages=$(find ./ -maxdepth 2 -name '*.go' -printf '%h\n' | sort | uniq)
|
||||||
# corresponding tests on these versions.
|
# corresponding tests on these versions.
|
||||||
goversion=$(go version)
|
goversion=$(go version)
|
||||||
if [[ "$goversion" == *"go1.4"* ]] ||
|
if [[ "$goversion" == *"go1.4"* ]] ||
|
||||||
[[ "$goversion" == *"go1.7"* ]]; then
|
[[ "$goversion" == *"go1.5"* ]]; then
|
||||||
|
|
||||||
echo "Skipping tests requiring Consul which is not supported on $goversion"
|
echo "Skipping tests requiring Consul which is not supported on $goversion"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue