<commit_before>language: python

matrix:
  include:
    - python: 2.7
      env:
        - COVERAGE=false
    - python: 3.3
      env:
        - COVERAGE=false
    - python: 3.4
      env:
        - COVERAGE=true

before_install:
  # Here we just install Miniconda, which you shouldn't have to change.
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda/bin:$PATH
  - conda update --yes conda
  - conda config --add channels phobson
  #- cp wqio/data/matplotlibrc .

install:
  # We just set up a conda environment with the right Python version. This
  # should not need changing.
  - conda create --yes -n test python=$TRAVIS_PYTHON_VERSION wqio nose mock
  - source activate test
  - conda install --yes coverage docopt requests pyyaml
  - pip install coveralls
  - pip install . --no-deps

script:
  - nosetests --with-coverage --cover-package=pynsqsd --verbose

after_success:
  - if [ ${COVERAGE} = true ]; then coveralls; fi<commit_msg>fix typo in coverage option<commit_after>language: python

matrix:
  include:
    - python: 2.7
      env:
        - COVERAGE=false
    - python: 3.3
      env:
        - COVERAGE=false
    - python: 3.4
      env:
        - COVERAGE=true

before_install:
  # Here we just install Miniconda, which you shouldn't have to change.
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda/bin:$PATH
  - conda update --yes conda
  - conda config --add channels phobson
  #- cp wqio/data/matplotlibrc .

install:
  # We just set up a conda environment with the right Python version. This
  # should not need changing.
  - conda create --yes -n test python=$TRAVIS_PYTHON_VERSION wqio nose mock
  - source activate test
  - conda install --yes coverage docopt requests pyyaml
  - pip install coveralls
  - pip install . --no-deps

script:
  - nosetests --with-coverage --cover-package=pynsqd --verbose

after_success:
  - if [ ${COVERAGE} = true ]; then coveralls; fi
{'fraction_non_alphanumeric': 0.10404087320018579, 'fraction_numerical': 0.009289363678588018, 'mean_word_length': 2.584026622296173, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3767431', 'n_tokens_mistral': 760, 'n_tokens_neox': 743, 'n_words': 213}