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:**