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: add docker Created Jan. 26, 2018, 4:20 p.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
« no previous file with comments | « .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
+
+
« no previous file with comments | « .travis/Dockerfile ('k') | .travis/docker-run.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld