|
|
@@ -20,10 +20,12 @@ env:
|
|
|
- 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:
|
|
|
fast_finish: true
|
|
|
@@ -34,6 +36,8 @@ matrix:
|
|
|
env: TARGET=linux-amd64-coverage
|
|
|
- go: tip
|
|
|
env: TARGET=linux-amd64-fmt-unit-go-tip
|
|
|
+ - go: 1.10.3
|
|
|
+ env: TARGET=linux-386-unit
|
|
|
exclude:
|
|
|
- go: tip
|
|
|
env: TARGET=linux-amd64-fmt
|
|
|
@@ -55,6 +59,8 @@ matrix:
|
|
|
env: TARGET=linux-amd64-coverage
|
|
|
- go: 1.10.3
|
|
|
env: TARGET=linux-amd64-fmt-unit-go-tip
|
|
|
+ - go: tip
|
|
|
+ env: TARGET=linux-386-unit
|
|
|
|
|
|
before_install:
|
|
|
- if [[ $TRAVIS_GO_VERSION == 1.* ]]; then docker pull gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION}; fi
|
|
|
@@ -91,6 +97,11 @@ script:
|
|
|
--volume=`pwd`:/go/src/github.com/coreos/etcd gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION} \
|
|
|
/bin/bash -c "./build && GOARCH=amd64 PASSES='functional' ./test"
|
|
|
;;
|
|
|
+ linux-amd64-unit)
|
|
|
+ docker run --rm \
|
|
|
+ --volume=`pwd`:/go/src/github.com/coreos/etcd gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION} \
|
|
|
+ /bin/bash -c "GOARCH=amd64 PASSES='unit' ./test"
|
|
|
+ ;;
|
|
|
all-build)
|
|
|
docker run --rm \
|
|
|
--volume=`pwd`:/go/src/github.com/coreos/etcd gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION} \
|
|
|
@@ -111,4 +122,9 @@ script:
|
|
|
linux-amd64-fmt-unit-go-tip)
|
|
|
GOARCH=amd64 PASSES='fmt unit' ./test
|
|
|
;;
|
|
|
+ linux-386-unit)
|
|
|
+ docker run --rm \
|
|
|
+ --volume=`pwd`:/go/src/github.com/coreos/etcd gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION} \
|
|
|
+ /bin/bash -c "GOARCH=386 PASSES='unit' ./test"
|
|
|
+ ;;
|
|
|
esac
|