diff options
author | 2016-02-08 13:08:24 -0800 | |
---|---|---|
committer | 2016-02-08 13:08:24 -0800 | |
commit | e28e426af542030ea81bbaaedc1417ce9027b95f (patch) | |
tree | c68b8c61b86741aed53aae63a2bccbf9018969f7 /tools/run_tests/pre_build_node.sh | |
parent | 2e7d06703d3f50fb4f28d352b1a2ae83a18777bf (diff) | |
parent | 81b780b84b77a093ac2273865cd1af8a0f6f69bf (diff) |
Merge branch 'master' into base_log
Diffstat (limited to 'tools/run_tests/pre_build_node.sh')
-rwxr-xr-x | tools/run_tests/pre_build_node.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/run_tests/pre_build_node.sh b/tools/run_tests/pre_build_node.sh index 28ce354f27..11f46d60fc 100755 --- a/tools/run_tests/pre_build_node.sh +++ b/tools/run_tests/pre_build_node.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2015, Google Inc. +# Copyright 2015-2016, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -29,8 +29,12 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +NODE_VERSION=$1 +source ~/.nvm/nvm.sh set -ex +nvm use $NODE_VERSION + export GRPC_CONFIG=${CONFIG:-opt} # Expire cache after 1 week |