From f4810ff42954f4de27e3e4bb3f0ff730aa78e9ab Mon Sep 17 00:00:00 2001 From: Marius Date: Tue, 20 Dec 2016 17:25:24 +0100 Subject: [PATCH] Drop support for testing on Go1.4 on Travis The AWS Go SDK has dropped support Go1.4 in a recent commit (https://github.com/aws/aws-sdk-go/commit/0cec6f30ed2e73632df90a507b537cb988436171). Therefore, we decided to not test this unsupported Go version anymore. --- .scripts/test_all.sh | 3 +-- .travis.yml | 5 ++--- README.md | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.scripts/test_all.sh b/.scripts/test_all.sh index 40ea6af..e099609 100755 --- a/.scripts/test_all.sh +++ b/.scripts/test_all.sh @@ -8,8 +8,7 @@ packages=$(find ./ -maxdepth 2 -name '*.go' -printf '%h\n' | sort | uniq) # The consul package only supports Go1.7+ and therefore we will only run the # corresponding tests on these versions. goversion=$(go version) -if [[ "$goversion" == *"go1.4"* ]] || - [[ "$goversion" == *"go1.5"* ]] || +if [[ "$goversion" == *"go1.5"* ]] || [[ "$goversion" == *"go1.6"* ]]; then echo "Skipping tests requiring Consul which is not supported on $goversion" diff --git a/.travis.yml b/.travis.yml index 167137d..329eda8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,9 @@ language: go go: -- 1.4 - 1.5 - 1.6 - 1.7 -- tip +- 1.8beta2 sudo: required cache: apt: true @@ -20,7 +19,7 @@ matrix: allow_failures: - go: tip install: -- rsync -r ./vendor/ $GOPATH/src +- true script: - ./.scripts/test_all.sh before_deploy: diff --git a/README.md b/README.md index 2bb933b..a5062b1 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Windows in various formats of the **Requirements:** -* [Go](http://golang.org/doc/install) (1.4 or newer) +* [Go](http://golang.org/doc/install) (1.5 or newer) **Running tusd from source:**