Skip to content

Commit de0b09a

Browse files
committed
updated ArangoDB download URL
1 parent 7d9b48c commit de0b09a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

tests/travis/setup_arangodb.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44
cd $DIR
55

6-
VERSION=devel-nightly
6+
VERSION=2.1.0-rc1
77
NAME=ArangoDB-$VERSION
88

99
if [ ! -d "$DIR/$NAME" ]; then
1010
# download ArangoDB
11-
echo "wget https://www.arangodb.org/repositories/nightly/travisCI/$NAME.tar.gz"
12-
wget https://www.arangodb.org/repositories/nightly/travisCI/$NAME.tar.gz
11+
echo "wget http://www.arangodb.org/repositories/travisCI/$NAME.tar.gz"
12+
wget http://www.arangodb.org/repositories/travisCI/$NAME.tar.gz
1313
echo "tar zxf $NAME.tar.gz"
1414
tar zvxf $NAME.tar.gz
1515
fi
@@ -19,7 +19,11 @@ PID=$(echo $PPID)
1919
TMP_DIR="/tmp/arangodb.$PID"
2020
PID_FILE="/tmp/arangodb.$PID.pid"
2121
ARANGODB_DIR="$DIR/$NAME"
22-
ARANGOD="${ARANGODB_DIR}/bin/arangod_x86_64"
22+
23+
ARANGOD="${ARANGODB_DIR}/bin/arangod"
24+
if [ "$ARCH" == "x86_64" ]; then
25+
ARANGOD="${ARANGOD}_x86_64"
26+
fi
2327

2428
# create database directory
2529
mkdir ${TMP_DIR}
@@ -53,3 +57,4 @@ while [[ -z `curl -s 'http://127.0.0.1:8529/_api/version' ` ]] ; do
5357
done
5458

5559
echo "ArangoDB is up"
60+

0 commit comments

Comments
 (0)