<commit_before>#! /bin/bash
set -e

echo -en "travis_fold:start:nvm\r"
echo "--- installing node.js 0.11 ---"
curl https://raw.github.com/creationix/nvm/v0.4.0/install.sh | bash
. $HOME/.nvm/nvm.sh
nvm install 0.11
nvm use 0.11
echo -en "travis_fold:end:nvm\r"

echo -en "travis_fold:start:node-gyp\r"
echo "--- installing node-gyp ---"
npm install --global node-gyp --registry http://registry.nodejitsu.com
echo -en "travis_fold:end:node-gyp\r"<commit_msg>travis: still trying to fix nvm<commit_after>#! /bin/bash
set -e

echo -en "travis_fold:start:nvm\r"
echo "--- installing node.js 0.11 ---"
curl https://raw.github.com/creationix/nvm/v0.4.0/install.sh | METHOD=script bash
. $HOME/.nvm/nvm.sh
nvm install 0.11
nvm use 0.11
echo -en "travis_fold:end:nvm\r"

echo -en "travis_fold:start:node-gyp\r"
echo "--- installing node-gyp ---"
npm install --global node-gyp --registry http://registry.nodejitsu.com
echo -en "travis_fold:end:node-gyp\r"
{'fraction_non_alphanumeric': 0.17970401691331925, 'fraction_numerical': 0.02536997885835095, 'mean_word_length': 3.5311004784688995, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5124956', 'n_tokens_mistral': 422, 'n_tokens_neox': 400, 'n_words': 83}