<commit_before>#!/bin/bash

echo ${TRAVIS_OS_NAME}
which unzip

if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
    wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.0.0-macosx.zip
    unzip phantomjs-2.0.0-macosx.zip
    ln -s phantomjs-2.1.1-macosx phantomjs
else
    wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
    tar -xvjf phantomjs-2.1.1-linux-x86_64.tar.bz2
    ln -s phantomjs-2.1.1-linux-x86_64 phantomjs
fi
<commit_msg>debugging travis scripts<commit_after>#!/bin/bash

echo ${TRAVIS_OS_NAME}
which unzip

if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
    wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip
    unzip phantomjs-2.1.1-macosx.zip
    ln -s phantomjs-2.1.1-macosx phantomjs
else
    wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
    tar -xvjf phantomjs-2.1.1-linux-x86_64.tar.bz2
    ln -s phantomjs-2.1.1-linux-x86_64 phantomjs
fi

{'fraction_non_alphanumeric': 0.1476923076923077, 'fraction_numerical': 0.06564102564102564, 'mean_word_length': 3.416289592760181, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4512586', 'n_tokens_mistral': 491, 'n_tokens_neox': 434, 'n_words': 58}