<commit_before>language: python

dist: xenial
sudo: false

matrix:
  include:
    - python: 2.7
    - python: 3.5
    - python: 3.6
    - os: osx
      language: generic
      only: master 

before_install:
  - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
      brew update
      brew install wget
    else
      sudo apt-get update
  fi

install:
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-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 true 
  - conda update --all
  - conda config --set show_channel_urls yes
  - conda config --prepend channels conda-forge
  - conda info -a

  # Take these dependencies since their installation order can cause problems at times :/
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
  - source activate test-environment
  - pip install codecov coverage
  - python setup.py install

script:<commit_msg>travis fix?<commit_after>language: python

dist: xenial
sudo: false

matrix:
  include:
    - python: 2.7
    - python: 3.5
    - python: 3.6
    - os: osx
      language: generic
      only: master 

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
      brew update;
      brew install wget;
    else
      sudo apt-get update;
    fi

install:
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-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 true 
  - conda update --all
  - conda config --set show_channel_urls yes
  - conda config --prepend channels conda-forge
  - conda info -a

  # Take these dependencies since their installation order can cause problems at times :/
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
  - source activate test-environment
  - pip install codecov coverage
  - python setup.py install

script:
{'fraction_non_alphanumeric': 0.10915341641598625, 'fraction_numerical': 0.015470562956596476, 'mean_word_length': 2.660377358490566, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2515688', 'n_tokens_mistral': 848, 'n_tokens_neox': 812, 'n_words': 218}