<commit_before>language: python
python:
  # We don't actually use the Travis Python, but this keeps it organized.
  - "3.4"
  - "3.5"

matrix:
  include:
    - language: generic-covered
      python: 3.5
      os: osx
      env: pyver=3.5.1 pydist=macpython

install:
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update;fi
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install valgrind;fi
  # We do this conditionally because it saves us some downloading if the
  # version is the same.
  - if [ $TRAVIS_OS_NAME == "osx" ]; then echo "Running on OS X"; else echo "Running on Linux"; fi
  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a

  # Replace dep1 dep2 ... with your dependencies
  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then
      conda create -q -n test-environment python=3.5 numpy scipy mkl-service pytest;
    else
      conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy mkl-service pytest;
    fi
  - source activate test-environment
  - python setup.py install

script:
  # Your test script goes here
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then
      py.test --valgrind;
    else
      py.test:
    fi

notifications:
  email:
    on_success: never # default: change
    on_failure: change # default: always<commit_msg>valgrind is too complicated for me atm<commit_after>language: python
python:
  # We don't actually use the Travis Python, but this keeps it organized.
  - "3.4"
  - "3.5"

matrix:
  include:
    - language: generic-covered
      python: 3.5
      os: osx
      env: pyver=3.5.1 pydist=macpython

install:
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update;fi
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install valgrind;fi
  # We do this conditionally because it saves us some downloading if the
  # version is the same.
  - if [ $TRAVIS_OS_NAME == "osx" ]; then echo "Running on OS X"; else echo "Running on Linux"; fi
  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a

  # Replace dep1 dep2 ... with your dependencies
  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then
      conda create -q -n test-environment python=3.5 numpy scipy mkl-service pytest;
    else
      conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy mkl-service pytest;
    fi
  - source activate test-environment
  - python setup.py install

script:
  # Your test script goes here
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then
      py.test --valgrind;
    else
      py.test;
    fi

notifications:
  email:
    on_success: never # default: change
    on_failure: change # default: always
{'fraction_non_alphanumeric': 0.11456255343402678, 'fraction_numerical': 0.013679110857794243, 'mean_word_length': 2.8613861386138613, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3158342', 'n_tokens_mistral': 1273, 'n_tokens_neox': 1241, 'n_words': 371}