summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-01-22 07:02:14 -0800
committerKonstantin Käfer <mail@kkaefer.com>2015-02-04 10:49:06 +0100
commit92a7f73bbe10f817d5c2d607ba07fc69b859593b (patch)
tree6dfb4734d3b8731e8ec21cd036b192eceb31104b /scripts
parentbf629c97db98cc835e324409edfd8729bb3583c2 (diff)
downloadqtlocation-mapboxgl-92a7f73bbe10f817d5c2d607ba07fc69b859593b.tar.gz
fixes for linux
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=$?