parent
c6e18c712c
commit
082c3ef0bc
|
@ -6,7 +6,7 @@ sudo: required
|
||||||
services: docker
|
services: docker
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.10.2
|
- 1.10.3
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
@ -65,7 +65,7 @@ matrix:
|
||||||
env: TARGET=linux-arm64-build
|
env: TARGET=linux-arm64-build
|
||||||
- go: tip
|
- go: tip
|
||||||
env: TARGET=linux-ppc64le-build
|
env: TARGET=linux-ppc64le-build
|
||||||
- go: 1.10.2
|
- go: 1.10.3
|
||||||
env: TARGET=linux-amd64-fmt-unit-go-tip
|
env: TARGET=linux-amd64-fmt-unit-go-tip
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -50,7 +50,7 @@ docker-remove:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
GO_VERSION ?= 1.10.2
|
GO_VERSION ?= 1.10.3
|
||||||
ETCD_VERSION ?= $(shell git rev-parse --short HEAD || echo "GitNotFound")
|
ETCD_VERSION ?= $(shell git rev-parse --short HEAD || echo "GitNotFound")
|
||||||
|
|
||||||
TEST_SUFFIX = $(shell date +%s | base64 | head -c 15)
|
TEST_SUFFIX = $(shell date +%s | base64 | head -c 15)
|
||||||
|
|
|
@ -15,7 +15,7 @@ fi
|
||||||
docker run \
|
docker run \
|
||||||
--rm \
|
--rm \
|
||||||
--volume=`pwd`:/go/src/github.com/coreos/etcd \
|
--volume=`pwd`:/go/src/github.com/coreos/etcd \
|
||||||
gcr.io/etcd-development/etcd-test:go1.10.2 \
|
gcr.io/etcd-development/etcd-test:go1.10.3 \
|
||||||
/bin/bash -c "${TEST_OPTS} ./test 2>&1 | tee test-${TEST_SUFFIX}.log"
|
/bin/bash -c "${TEST_OPTS} ./test 2>&1 | tee test-${TEST_SUFFIX}.log"
|
||||||
|
|
||||||
! egrep "(--- FAIL:|panic: test timed out|appears to have leaked)" -B50 -A10 test-${TEST_SUFFIX}.log
|
! egrep "(--- FAIL:|panic: test timed out|appears to have leaked)" -B50 -A10 test-${TEST_SUFFIX}.log
|
||||||
|
|
Loading…
Reference in New Issue