|
@@ -6,8 +6,8 @@ sudo: required
|
|
|
services: docker
|
|
services: docker
|
|
|
|
|
|
|
|
go:
|
|
go:
|
|
|
-- 1.12.9
|
|
|
|
|
-- tip
|
|
|
|
|
|
|
+ - 1.13
|
|
|
|
|
+ - tip
|
|
|
|
|
|
|
|
notifications:
|
|
notifications:
|
|
|
on_success: never
|
|
on_success: never
|
|
@@ -15,62 +15,62 @@ notifications:
|
|
|
|
|
|
|
|
env:
|
|
env:
|
|
|
matrix:
|
|
matrix:
|
|
|
- - TARGET=linux-amd64-fmt
|
|
|
|
|
- - TARGET=linux-amd64-integration-1-cpu
|
|
|
|
|
- - TARGET=linux-amd64-integration-2-cpu
|
|
|
|
|
- - TARGET=linux-amd64-integration-4-cpu
|
|
|
|
|
- - TARGET=linux-amd64-functional
|
|
|
|
|
- - TARGET=linux-amd64-unit
|
|
|
|
|
- - TARGET=all-build
|
|
|
|
|
- - TARGET=linux-amd64-grpcproxy
|
|
|
|
|
- - TARGET=linux-amd64-coverage
|
|
|
|
|
- - TARGET=linux-amd64-fmt-unit-go-tip
|
|
|
|
|
- - TARGET=linux-386-unit
|
|
|
|
|
|
|
+ - TARGET=linux-amd64-fmt
|
|
|
|
|
+ - TARGET=linux-amd64-integration-1-cpu
|
|
|
|
|
+ - TARGET=linux-amd64-integration-2-cpu
|
|
|
|
|
+ - TARGET=linux-amd64-integration-4-cpu
|
|
|
|
|
+ - TARGET=linux-amd64-functional
|
|
|
|
|
+ - TARGET=linux-amd64-unit
|
|
|
|
|
+ - TARGET=all-build
|
|
|
|
|
+ - TARGET=linux-amd64-grpcproxy
|
|
|
|
|
+ - TARGET=linux-amd64-coverage
|
|
|
|
|
+ - TARGET=linux-amd64-fmt-unit-go-tip
|
|
|
|
|
+ - TARGET=linux-386-unit
|
|
|
|
|
|
|
|
matrix:
|
|
matrix:
|
|
|
fast_finish: true
|
|
fast_finish: true
|
|
|
allow_failures:
|
|
allow_failures:
|
|
|
- - go: 1.12.9
|
|
|
|
|
- env: TARGET=linux-amd64-grpcproxy
|
|
|
|
|
- - go: 1.12.9
|
|
|
|
|
- env: TARGET=linux-amd64-coverage
|
|
|
|
|
- - go: tip
|
|
|
|
|
- env: TARGET=linux-amd64-fmt-unit-go-tip
|
|
|
|
|
- - go: 1.12.9
|
|
|
|
|
- env: TARGET=linux-386-unit
|
|
|
|
|
|
|
+ - go: 1.13
|
|
|
|
|
+ env: TARGET=linux-amd64-grpcproxy
|
|
|
|
|
+ - go: 1.13
|
|
|
|
|
+ env: TARGET=linux-amd64-coverage
|
|
|
|
|
+ - go: tip
|
|
|
|
|
+ env: TARGET=linux-amd64-fmt-unit-go-tip
|
|
|
|
|
+ - go: 1.13
|
|
|
|
|
+ env: TARGET=linux-386-unit
|
|
|
exclude:
|
|
exclude:
|
|
|
- - go: tip
|
|
|
|
|
- env: TARGET=linux-amd64-fmt
|
|
|
|
|
- - go: tip
|
|
|
|
|
- env: TARGET=linux-amd64-integration-1-cpu
|
|
|
|
|
- - go: tip
|
|
|
|
|
- env: TARGET=linux-amd64-integration-2-cpu
|
|
|
|
|
- - go: tip
|
|
|
|
|
- env: TARGET=linux-amd64-integration-4-cpu
|
|
|
|
|
- - go: tip
|
|
|
|
|
- env: TARGET=linux-amd64-functional
|
|
|
|
|
- - go: tip
|
|
|
|
|
- env: TARGET=linux-amd64-unit
|
|
|
|
|
- - go: tip
|
|
|
|
|
- env: TARGET=all-build
|
|
|
|
|
- - go: tip
|
|
|
|
|
- env: TARGET=linux-amd64-grpcproxy
|
|
|
|
|
- - go: tip
|
|
|
|
|
- env: TARGET=linux-amd64-coverage
|
|
|
|
|
- - go: 1.12.9
|
|
|
|
|
- env: TARGET=linux-amd64-fmt-unit-go-tip
|
|
|
|
|
- - go: tip
|
|
|
|
|
- env: TARGET=linux-386-unit
|
|
|
|
|
|
|
+ - go: tip
|
|
|
|
|
+ env: TARGET=linux-amd64-fmt
|
|
|
|
|
+ - go: tip
|
|
|
|
|
+ env: TARGET=linux-amd64-integration-1-cpu
|
|
|
|
|
+ - go: tip
|
|
|
|
|
+ env: TARGET=linux-amd64-integration-2-cpu
|
|
|
|
|
+ - go: tip
|
|
|
|
|
+ env: TARGET=linux-amd64-integration-4-cpu
|
|
|
|
|
+ - go: tip
|
|
|
|
|
+ env: TARGET=linux-amd64-functional
|
|
|
|
|
+ - go: tip
|
|
|
|
|
+ env: TARGET=linux-amd64-unit
|
|
|
|
|
+ - go: tip
|
|
|
|
|
+ env: TARGET=all-build
|
|
|
|
|
+ - go: tip
|
|
|
|
|
+ env: TARGET=linux-amd64-grpcproxy
|
|
|
|
|
+ - go: tip
|
|
|
|
|
+ env: TARGET=linux-amd64-coverage
|
|
|
|
|
+ - go: 1.13
|
|
|
|
|
+ env: TARGET=linux-amd64-fmt-unit-go-tip
|
|
|
|
|
+ - go: tip
|
|
|
|
|
+ env: TARGET=linux-386-unit
|
|
|
|
|
|
|
|
before_install:
|
|
before_install:
|
|
|
-- if [[ $TRAVIS_GO_VERSION == 1.* ]]; then docker pull gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION}; fi
|
|
|
|
|
|
|
+ - if [[ $TRAVIS_GO_VERSION == 1.* ]]; then docker pull gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION}; fi
|
|
|
|
|
|
|
|
install:
|
|
install:
|
|
|
-- go get -t -v -d ./...
|
|
|
|
|
|
|
+ - go get -t -v -d ./...
|
|
|
|
|
|
|
|
script:
|
|
script:
|
|
|
- - echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}"
|
|
|
|
|
- - >
|
|
|
|
|
|
|
+ - echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}"
|
|
|
|
|
+ - >
|
|
|
case "${TARGET}" in
|
|
case "${TARGET}" in
|
|
|
linux-amd64-fmt)
|
|
linux-amd64-fmt)
|
|
|
docker run --rm \
|
|
docker run --rm \
|