<commit_before>language: python

before_install:
  - sudo apt-get update
  - sudo apt-get install -y collectd collectd-core

python:
  - 2.6
  - 2.7
  - 3.3
  - 3.4
  - pypy
  - pypy3

install:
  # workaround for travis build vm's and multiprocessing
  # see https://github.com/travis-ci/travis-core/issues/187
  - sudo rm -rf /dev/shm
  - sudo ln -Tsf /{run,dev}/shm
  # install dependencies
  - pip install -r requirements.txt --use-mirrors
  - pip install "coverage>=3.6" "nose>=1.3.0" "flake8>=2.1" "coveralls>=0.3" --use-mirrors
  # install bucky
  - pip install -e . --use-mirrors

script:
  - flake8 --show-source --ignore=E501,E731,W391 .
  - nosetests -v --with-coverage tests/test_000_bucky.py
  - nosetests -v --with-coverage tests/test_001_statsd.py
  - nosetests -v --with-coverage tests/test_002_collectd.py
  - nosetests -v --with-coverage tests/test_003_processor.py
  - nosetests -v --with-coverage tests/test_004_helpers.py

after_success:
  - coveralls<commit_msg>--use-mirror have been removed from pip<commit_after>language: python

before_install:
  - sudo apt-get update
  - sudo apt-get install -y collectd collectd-core

python:
  - 2.6
  - 2.7
  - 3.3
  - 3.4
  - pypy
  - pypy3

install:
  # workaround for travis build vm's and multiprocessing
  # see https://github.com/travis-ci/travis-core/issues/187
  - sudo rm -rf /dev/shm
  - sudo ln -Tsf /{run,dev}/shm
  # install dependencies
  - pip install -r requirements.txt
  - pip install "coverage>=3.6" "nose>=1.3.0" "flake8>=2.1" "coveralls>=0.3"
  # install bucky
  - pip install -e .

script:
  - flake8 --show-source --ignore=E501,E731,W391 .
  - nosetests -v --with-coverage tests/test_000_bucky.py
  - nosetests -v --with-coverage tests/test_001_statsd.py
  - nosetests -v --with-coverage tests/test_002_collectd.py
  - nosetests -v --with-coverage tests/test_003_processor.py
  - nosetests -v --with-coverage tests/test_004_helpers.py

after_success:
  - coveralls
{'fraction_non_alphanumeric': 0.13435897435897437, 'fraction_numerical': 0.048205128205128206, 'mean_word_length': 2.8031189083820665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '5641244', 'n_tokens_mistral': 825, 'n_tokens_neox': 772, 'n_words': 167}