<commit_before>language: python

# use the faster container-based architecture
sudo: false

# python versions to test
python:
  - 3.3
  - 3.4

# install Miniconda; use it to install dependencies
install:
  - wget http://repo.continuum.io/miniconda/Miniconda3-3.8.3-Linux-x86_64.sh -O miniconda.sh
  - bash miniconda.sh -b -p $(pwd)/miniconda
  - export PATH="$(pwd)/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda info -a
  - DEPS="pip nose coverage numpy scipy matplotlib h5py"
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION $DEPS
  - source activate test-environment
  - pip install coveralls

# run tests (select a proper matplotlib backend)
before_script:
  - "echo backend : Agg > matplotlibrc"
script:  nosetests --with-doctest --with-coverage

# check coverage
after_success:
  - coveralls
<commit_msg>DEV: report test results verbosely; ensure coverage is updated<commit_after>language: python

# use the faster container-based architecture
sudo: false

# python versions to test
python:
  - 3.3
  - 3.4

# install Miniconda; use it to install dependencies
install:
  - wget http://repo.continuum.io/miniconda/Miniconda3-3.8.3-Linux-x86_64.sh -O miniconda.sh
  - bash miniconda.sh -b -p $(pwd)/miniconda
  - export PATH="$(pwd)/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda info -a
  - DEPS="pip nose coverage numpy scipy matplotlib h5py"
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION $DEPS
  - source activate test-environment
  - pip install coveralls

# run tests (select a proper matplotlib backend)
before_script:
  - "echo backend : Agg > matplotlibrc"
script:  nosetests --with-doctest --with-coverage --cover-erase --verbose --detailed-errors

# check coverage
after_success:
  - coveralls

{'fraction_non_alphanumeric': 0.10543302850995159, 'fraction_numerical': 0.01506186121570737, 'mean_word_length': 3.5145631067961167, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1585515', 'n_tokens_mistral': 658, 'n_tokens_neox': 636, 'n_words': 187}