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:
parent
37fe99b37d
commit
f4810ff429
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue