mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Fix Travis CI.
This commit is contained in:
parent
8d25dac1ba
commit
355bd6df9b
@ -1,5 +1,5 @@
|
||||
language: go
|
||||
go: 1.1
|
||||
go: 1.2
|
||||
|
||||
install:
|
||||
- echo "Skip install"
|
||||
|
8
test.sh
8
test.sh
@ -5,6 +5,10 @@ if [ -z "$PKG" ]; then
|
||||
PKG="./store ./server ./server/v2/tests ./mod/lock/v2/tests"
|
||||
fi
|
||||
|
||||
if [ -z "$RUN" ]; then
|
||||
RUN="."
|
||||
fi
|
||||
|
||||
# Get GOPATH, etc from build
|
||||
. ./build
|
||||
|
||||
@ -15,9 +19,9 @@ export GOPATH="${PWD}"
|
||||
for i in $PKG
|
||||
do
|
||||
go test -i $i
|
||||
go test -v $i
|
||||
go test -v -test.run=$RUN $i
|
||||
done
|
||||
|
||||
# Functional tests
|
||||
go test -i ./tests/functional
|
||||
ETCD_BIN_PATH=$(pwd)/etcd go test -v ./tests/functional
|
||||
ETCD_BIN_PATH=$(pwd)/etcd go test -v -test.run=$RUN ./tests/functional
|
||||
|
Loading…
x
Reference in New Issue
Block a user