mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
travis, test: allow failures with gotip
This allows tests to fail with Go tip, because go tip branch might not be stable. This replaces https://github.com/coreos/etcd/pull/3953.
This commit is contained in:
parent
769f874542
commit
bbdd3c5f0e
@ -1,10 +1,15 @@
|
|||||||
language: go
|
language: go
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.4
|
- 1.4
|
||||||
- 1.5
|
- 1.5
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
- go: tip
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
|
6
test
6
test
@ -52,12 +52,12 @@ if [ $MACHINE_TYPE != "armv7l" ]; then
|
|||||||
RACE="--race"
|
RACE="--race"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
go test -timeout 3m ${COVER} $@ ${TEST} ${RACE} -cpu 1,2,4
|
go test -timeout 3m ${COVER} ${RACE} -cpu 1,2,4 $@ ${TEST}
|
||||||
go test -timeout 3m ${COVER} $@ ${NO_RACE_TEST} -cpu 1,2,4
|
go test -timeout 3m ${COVER} -cpu 1,2,4 $@ ${NO_RACE_TEST}
|
||||||
|
|
||||||
if [ -n "$INTEGRATION" ]; then
|
if [ -n "$INTEGRATION" ]; then
|
||||||
echo "Running integration tests..."
|
echo "Running integration tests..."
|
||||||
go test -timeout 10m $@ ${REPO_PATH}/integration -v -cpu 1,2,4
|
go test -timeout 10m -v -cpu 1,2,4 $@ ${REPO_PATH}/integration
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Checking gofmt..."
|
echo "Checking gofmt..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user