summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-01-23 11:04:26 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-02-04 10:49:06 +0100
commit4a985e09f2addcc9cb86f435b5a87517d20ec483 (patch)
tree9a004e7a29b90ebd9d470007946bddfdee3470ec /scripts
parent9a549094e02b046eb67a3c3a1ed8df96791825ca (diff)
downloadqtlocation-mapboxgl-4a985e09f2addcc9cb86f435b5a87517d20ec483.tar.gz
asset:// URLs are local to the executable path now
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run_tests.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh
index e53e9a84a3..6a715f3783 100755
--- a/scripts/run_tests.sh
+++ b/scripts/run_tests.sh
@@ -17,7 +17,9 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
fi
# install test server dependencies
-(cd test; npm install express@4.11)
+if [ ! -d "test/node_modules/express" ]; then
+ (cd test; npm install express@4.11.1)
+fi
RESULT=0
${CMD} "$@" || RESULT=$?