diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install_node.sh | 4 | ||||
-rwxr-xr-x | scripts/run_tests.sh | 3 |
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=$? |