Skip to content

Commit

Permalink
.travis.yml: Test with go v1.15.7
Browse files Browse the repository at this point in the history
Currently in CI the tests are only run with go v1.12, this adds also go
v1.15.7.

Excludes certain variants for v1.15.
  • Loading branch information
lilic committed Apr 9, 2021
1 parent b7e5f5b commit ddc5ff0
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services: docker

go:
- 1.12.12
- 1.15.7

notifications:
on_success: never
Expand All @@ -31,6 +32,19 @@ matrix:
env: TARGET=linux-amd64-grpcproxy
- go: 1.12.12
env: TARGET=linux-386-unit
exclude:
- go: 1.15.7
env: TARGET=linux-amd64-integration-1-cpu
- go: 1.15.7
env: TARGET=linux-amd64-integration-2-cpu
- go: 1.15.7
env: TARGET=linux-amd64-unit-4-cpu-race
- go: 1.15.7
env: TARGET=linux-amd64-coverage
- go: 1.15.7
env: TARGET=linux-amd64-fmt-unit-go-tip-2-cpu
- go: 1.15.7
env: TARGET=linux-386-unit-1-cpu

before_install:
- if [[ $TRAVIS_GO_VERSION == 1.* ]]; then docker pull gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION}; fi
Expand Down Expand Up @@ -84,7 +98,7 @@ script:
&& GO_BUILD_FLAGS='-v' GOARCH=ppc64le ./build"
;;
linux-amd64-grpcproxy)
sudo HOST_TMP_DIR=/tmp TEST_OPTS="PASSES='build grpcproxy'" make docker-test
sudo HOST_TMP_DIR=/tmp TEST_OPTS="PASSES='build grpcproxy'" GO_VERSION=${TRAVIS_GO_VERSION} make docker-test
;;
linux-386-unit)
docker run --rm \
Expand Down

0 comments on commit ddc5ff0

Please sign in to comment.