<commit_before>language: python
python:
  - "2.6"
  - "2.7"

notifications:
  email:
    - <EMAIL>
    - <EMAIL>
  irc: "irc.freenode.org#samsa"

before_install:
    - sudo apt-get install -qq zookeeper libev-dev
    - make kafka > /dev/null
    - sudo mv kafka /usr/local/kafka

install:
    - pip install -f http://code.google.com/p/gevent/downloads/list gevent>1.0dev >/dev/null 2>&1
    - pip install "git+https://github.com/python-zk/kazoo.git"
    - pip install --use-mirrors zc-zookeeper-static >/dev/null 2>&1
    - python setup.py develop
    - pip install --use-mirrors samsa[test]

env: ZOOKEEPER_PATH=/usr/share/java KAFKA_PATH=/usr/local/kafka KAFKA_START_TIMEOUT=20

script: make test<commit_msg>move kafka timeout to 30 sec for travis<commit_after>language: python
python:
  - "2.6"
  - "2.7"

notifications:
  email:
    - <EMAIL>
    - <EMAIL>
  irc: "irc.freenode.org#samsa"

before_install:
    - sudo apt-get install -qq zookeeper libev-dev
    - make kafka > /dev/null
    - sudo mv kafka /usr/local/kafka

install:
    - pip install -f http://code.google.com/p/gevent/downloads/list gevent>1.0dev >/dev/null 2>&1
    - pip install "git+https://github.com/python-zk/kazoo.git"
    - pip install --use-mirrors zc-zookeeper-static >/dev/null 2>&1
    - python setup.py develop
    - pip install --use-mirrors samsa[test]

env: ZOOKEEPER_PATH=/usr/share/java KAFKA_PATH=/usr/local/kafka KAFKA_START_TIMEOUT=30

script: make test
{'fraction_non_alphanumeric': 0.1396957123098202, 'fraction_numerical': 0.017980636237897647, 'mean_word_length': 2.9108108108108106, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 19, 'https://': 2, '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': '5542625', 'n_tokens_mistral': 590, 'n_tokens_neox': 569, 'n_words': 118}