Nightly script can now enable race-detection
parent
880f55565e
commit
abb6092bfe
|
@ -29,6 +29,11 @@ SMTP=$1
|
|||
USER=$2
|
||||
PASSWORD=$3
|
||||
TO=$4
|
||||
RACE_ENABLED=$5
|
||||
|
||||
if [ -n "$RACE_ENABLED" ]; then
|
||||
race="-x"
|
||||
fi
|
||||
|
||||
REPO_DIR=`mktemp -d`
|
||||
echo "Using $REPO_DIR for all work..."
|
||||
|
@ -41,7 +46,7 @@ git clone https://github.com/influxdb/influxdb.git
|
|||
|
||||
cd $GOPATH/src/github.com/influxdb/influxdb
|
||||
VERSION="$MASTER_VERSION-nightly-`git log --pretty=format:'%h' -n 1`"
|
||||
NIGHTLY_BUILD=true ./package.sh $VERSION
|
||||
NIGHTLY_BUILD=true ./package.sh $race $VERSION
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
# Send notification e-mail.
|
||||
|
|
Loading…
Reference in New Issue