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
|
# The consul package only supports Go1.7+ and therefore we will only run the
|
||||||
# corresponding tests on these versions.
|
# corresponding tests on these versions.
|
||||||
goversion=$(go version)
|
goversion=$(go version)
|
||||||
if [[ "$goversion" == *"go1.4"* ]] ||
|
if [[ "$goversion" == *"go1.5"* ]] ||
|
||||||
[[ "$goversion" == *"go1.5"* ]] ||
|
|
||||||
[[ "$goversion" == *"go1.6"* ]]; then
|
[[ "$goversion" == *"go1.6"* ]]; then
|
||||||
|
|
||||||
echo "Skipping tests requiring Consul which is not supported on $goversion"
|
echo "Skipping tests requiring Consul which is not supported on $goversion"
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.4
|
|
||||||
- 1.5
|
- 1.5
|
||||||
- 1.6
|
- 1.6
|
||||||
- 1.7
|
- 1.7
|
||||||
- tip
|
- 1.8beta2
|
||||||
sudo: required
|
sudo: required
|
||||||
cache:
|
cache:
|
||||||
apt: true
|
apt: true
|
||||||
|
@ -20,7 +19,7 @@ matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- go: tip
|
- go: tip
|
||||||
install:
|
install:
|
||||||
- rsync -r ./vendor/ $GOPATH/src
|
- true
|
||||||
script:
|
script:
|
||||||
- ./.scripts/test_all.sh
|
- ./.scripts/test_all.sh
|
||||||
before_deploy:
|
before_deploy:
|
||||||
|
|
Loading…
Reference in New Issue