mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
*: use Go 1.10.3 for CI tests
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
c6e18c712c
commit
082c3ef0bc
@ -6,7 +6,7 @@ sudo: required
|
||||
services: docker
|
||||
|
||||
go:
|
||||
- 1.10.2
|
||||
- 1.10.3
|
||||
- tip
|
||||
|
||||
notifications:
|
||||
@ -65,7 +65,7 @@ matrix:
|
||||
env: TARGET=linux-arm64-build
|
||||
- go: tip
|
||||
env: TARGET=linux-ppc64le-build
|
||||
- go: 1.10.2
|
||||
- go: 1.10.3
|
||||
env: TARGET=linux-amd64-fmt-unit-go-tip
|
||||
|
||||
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")
|
||||
|
||||
TEST_SUFFIX = $(shell date +%s | base64 | head -c 15)
|
||||
|
@ -15,7 +15,7 @@ fi
|
||||
docker run \
|
||||
--rm \
|
||||
--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"
|
||||
|
||||
! egrep "(--- FAIL:|panic: test timed out|appears to have leaked)" -B50 -A10 test-${TEST_SUFFIX}.log
|
||||
|
Loading…
x
Reference in New Issue
Block a user