Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: .travis/activate-nodejs.sh

Issue 29663688: Issue 6220 - add travis-ci configuration for adblockpluscore (Closed) Base URL: github.com:adblockplus/adblockpluscore
Patch Set: rebase & fix openssl version on osx Created March 1, 2018, 10:52 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« .travis.yml ('K') | « .travis/Dockerfile ('k') | .travis/docker-run.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: .travis/activate-nodejs.sh
diff --git a/.travis/activate-nodejs.sh b/.travis/activate-nodejs.sh
new file mode 100644
index 0000000000000000000000000000000000000000..fb46a0356c53262a231691202df8065b3a8cf22c
--- /dev/null
+++ b/.travis/activate-nodejs.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+if [[ -z ${NVM_DIR} ]]; then
+NVM_DIR=${HOME}/.nvm
+fi
+
+. ${NVM_DIR}/nvm.sh
+nvm use default
+
+
« .travis.yml ('K') | « .travis/Dockerfile ('k') | .travis/docker-run.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld