1
0
Fork 0
arangodb/Installation/travisCI/build.sh

36 lines
620 B
Bash
Executable File

#!/bin/bash
set -e
echo
echo '$0: loading precompiled libraries'
wget -q -O - "https://www.arangodb.com/support-files/travisCI/precompiled-libraries-4.3.61.tar.gz" | tar xzf -
echo
echo '$0: setup make-system'
make setup || exit 1
echo
echo "$0: configuring ArangoDB"
./configure --enable-relative
echo
echo "$0: compiling ArangoDB"
make -j1 || exit 1
echo
echo "$0: linting ArangoDB JS"
ulimit -c unlimited -S # enable core files
make jslint || exit 1
echo
echo "$0: testing ArangoDB"
make unittests-shell-server unittests-shell-server-aql unittests-http-server SKIP_RANGES=1 || exit 1
echo
echo "$0: done"