<commit_before>language: c++
compiler: gcc
env:
   - PYTHON_VERSION="2.7" USE_CYTHON="false"
   - PYTHON_VERSION="2.7"
   - PYTHON_VERSION="3.5"
before_install:
   # Move out of git directory to build root.
   - git fetch --unshallow --tags
   - git describe
   - cd ../..
   - pwd
install:
   # Update `gcc` to something with C++11 features.
   - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
   - sudo apt-get -qq update -y
   - sudo apt-get -qq install -y gcc-4.8 g++-4.8
   - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10
   - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 10
   # Download and configure conda.
   - wget http://repo.continuum.io/miniconda/Miniconda`echo ${PYTHON_VERSION:0:1} | grep 3`-latest-Linux-x86_64.sh -O miniconda.sh
   - bash miniconda.sh -b -p $HOME/miniconda
   - export PATH="$HOME/miniconda/bin:$PATH"
   - conda config --set always_yes yes
   - conda config --set show_channel_urls True
   - conda config --add channels nanshe
   - source activate root
   - conda update --all
   # Fix root environment to have the correct Python version.
   - touch $HOME/miniconda/conda-meta/pinned
   - echo "python ${PYTHON_VERSION}.*" >> $HOME/miniconda/conda-meta/pinned
   - conda install python=$PYTHON_VERSION
   # Install basic conda dependencies.
   - touch $HOME/miniconda/conda-meta/pinned
   - conda install conda-build
   - conda install jinja2
   # Return to the git repo.
   - cd $TRAVIS_REPO_SLUG
   # Create the test environment and install dependencies.
   - conda create --use-local -n testenv python=$PYTHON_VERSION
   - source activate testenv<commit_msg>.travis.yml: Get the current version.<commit_after>language: c++
compiler: gcc
env:
   - PYTHON_VERSION="2.7" USE_CYTHON="false"
   - PYTHON_VERSION="2.7"
   - PYTHON_VERSION="3.5"
before_install:
   # Move out of git directory to build root.
   - git fetch --unshallow --tags
   - git describe
   - cd ../..
   - pwd
install:
   # Update `gcc` to something with C++11 features.
   - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
   - sudo apt-get -qq update -y
   - sudo apt-get -qq install -y gcc-4.8 g++-4.8
   - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10
   - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 10
   # Download and configure conda.
   - wget http://repo.continuum.io/miniconda/Miniconda`echo ${PYTHON_VERSION:0:1} | grep 3`-latest-Linux-x86_64.sh -O miniconda.sh
   - bash miniconda.sh -b -p $HOME/miniconda
   - export PATH="$HOME/miniconda/bin:$PATH"
   - conda config --set always_yes yes
   - conda config --set show_channel_urls True
   - conda config --add channels nanshe
   - source activate root
   - conda update --all
   # Fix root environment to have the correct Python version.
   - touch $HOME/miniconda/conda-meta/pinned
   - echo "python ${PYTHON_VERSION}.*" >> $HOME/miniconda/conda-meta/pinned
   - conda install python=$PYTHON_VERSION
   # Install basic conda dependencies.
   - touch $HOME/miniconda/conda-meta/pinned
   - conda install conda-build
   - conda install jinja2
   # Return to the git repo.
   - cd $TRAVIS_REPO_SLUG
   # Get the version.
   - VERSION=`python setup.py --version`
   - echo $VERSION
   # Create the test environment and install dependencies.
   - conda create --use-local -n testenv python=$PYTHON_VERSION
   - source activate testenv
{'fraction_non_alphanumeric': 0.12390158172231985, 'fraction_numerical': 0.016403046280023433, 'mean_word_length': 2.8028953229398663, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6143648', 'n_tokens_mistral': 1253, 'n_tokens_neox': 1200, 'n_words': 323}