summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install_node.sh4
-rwxr-xr-xscripts/run_tests.sh3
2 files changed, 7 insertions, 0 deletions
diff --git a/scripts/install_node.sh b/scripts/install_node.sh
new file mode 100755
index 0000000000..ecb5b88350
--- /dev/null
+++ b/scripts/install_node.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+mason install node 0.10.35
+export PATH="`mason prefix node 0.10.35`/bin":"$PATH"
diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh
index f0582ebed7..e53e9a84a3 100755
--- a/scripts/run_tests.sh
+++ b/scripts/run_tests.sh
@@ -16,6 +16,9 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
sysctl kernel.core_pattern
fi
+# install test server dependencies
+(cd test; npm install express@4.11)
+
RESULT=0
${CMD} "$@" || RESULT=$?