Drop support for testing on Go1.4 on Travis

The AWS Go SDK has dropped support Go1.4 in a recent commit
(0cec6f30ed).
Therefore, we decided to not test this unsupported Go version anymore.
This commit is contained in:
Marius 2016-12-20 17:25:24 +01:00
parent 37fe99b37d
commit f4810ff429
3 changed files with 4 additions and 6 deletions

View File

@ -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"

View File

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

View File

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