diff --git a/.scripts/test_all.sh b/.scripts/test_all.sh index 1837c7f..bf5bb7f 100755 --- a/.scripts/test_all.sh +++ b/.scripts/test_all.sh @@ -39,12 +39,14 @@ install_etcd_pkgs() { export PATH="$PATH:/tmp/etcd-v$ETCD_VERSION-linux-amd64" } -# The etcd 3.3.x package only supports Go1.9+ and therefore +# The etcd 3.3.x package only supports Go1.11+ and therefore # we will only run the corresponding tests on these versions. if [[ "$goversion" == *"go1.5"* ]] || [[ "$goversion" == *"go1.6"* ]] || [[ "$goversion" == *"go1.7"* ]] || - [[ "$goversion" == *"go1.8"* ]]; then + [[ "$goversion" == *"go1.8"* ]] || + [[ "$goversion" == *"go1.9"* ]] || + [[ "$goversion" == *"go1.10"* ]]; then echo "Skipping tests requiring etcd3locker, which is not supported on $goversion" packages=$(echo "$packages" | sed '/etcd3locker/d') else diff --git a/.travis.yml b/.travis.yml index 96892ad..e18d1aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ go: - 1.9 - "1.10" - 1.11 +- 1.12 sudo: required addons: apt: