<commit_before>#!/bin/bash

#!/bin/bash

if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
    echo "OSX"

    # Install some custom requirements on OS X
    # e.g. brew install pyenv-virtualenv

    # Install pyenv
    git clone https://github.com/yyuu/pyenv.git ~/.pyenv
    PYENV_ROOT="$HOME/.pyenv"
    PATH="$PYENV_ROOT/bin:$PATH"
    eval "$(pyenv init -)"

    case "${TOXENV}" in
        py32)
            # Install some custom Python 3.2 requirements on OS X
            pyenv install 3.2.6
            pyenv global 3.2.6
            ;;
        py33)
            # Install some custom Python 3.3 requirements on OS X
            pyenv install 3.3.6
            pyenv global 3.3.6
            ;;
    esac

    # Activate virtual environment
    source ~/.venv/bin/activate
else
    # Install some custom requirements on Linux
    echo "Linux"
fi<commit_msg>Changed .travis/install.sh<commit_after>#!/bin/bash

if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
    echo "OSX"

    # Install some custom requirements on OS X
    # e.g. brew install pyenv-virtualenv

    # Install pyenv
    git clone https://github.com/yyuu/pyenv.git ~/.pyenv
    PYENV_ROOT="$HOME/.pyenv"
    PATH="$PYENV_ROOT/bin:$PATH"
    eval "$(pyenv init -)"

    case "${TOXENV}" in
        py32)
            # Install some custom Python 3.2 requirements on OS X
            pyenv install 3.2.6
            pyenv global 3.2.6
            ;;
        py33)
            # Install some custom Python 3.3 requirements on OS X
            pyenv install 3.3.6
            pyenv global 3.3.6
            ;;
    esac
else
    # Install some custom requirements on Linux
    echo "Linux"

    pip install virtualenv
fi

# Activate virtual environment
source ~/.venv/bin/activate
{'fraction_non_alphanumeric': 0.10346820809248555, 'fraction_numerical': 0.023121387283236993, 'mean_word_length': 1.880199667221298, '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': '2835210', 'n_tokens_mistral': 582, 'n_tokens_neox': 538, 'n_words': 164}