<commit_before>language: python
python:
 - "2.6"
env:
 - CFLAGS=-O0
branches:
  only:
   - master
install:
 - "uname -a"
 - "lsb_release -a"
 - "sudo apt-get install moreutils libblas-dev liblapack-dev"
 - "bash -ex .travis/upgrade-couchdb.sh | ts"
 - "git clone https://github.com/dimagi/commcarehq-venv.git"
 - "cp -r commcarehq-venv/hq_env/* ~/virtualenv/"
 - "source ~/virtualenv/bin/activate"
 - "time (bash -e .travis/quietly-run-install.sh | ts)"
 - "time (pip install --exists-action w -r requirements/requirements.txt --use-mirrors)"
 - "time (bash -e .travis/misc-setup.sh | ts)"
 - "cp .travis/localsettings.py localsettings.py"
 - "pip install coverage unittest2 mock --use-mirrors"
script: "coverage run manage.py test --noinput --failfast"
after_success:
 - coverage report
 - coveralls
services:
 - postgresql
 - couchdb
 - rabbitmq
 - elasticsearch
 - memcache<commit_msg>Add redis-server to build env<commit_after>language: python
python:
 - "2.6"
env:
 - CFLAGS=-O0
branches:
  only:
   - master
install:
 - "uname -a"
 - "lsb_release -a"
 - "sudo apt-get install moreutils libblas-dev liblapack-dev"
 - "bash -ex .travis/upgrade-couchdb.sh | ts"
 - "git clone https://github.com/dimagi/commcarehq-venv.git"
 - "cp -r commcarehq-venv/hq_env/* ~/virtualenv/"
 - "source ~/virtualenv/bin/activate"
 - "time (bash -e .travis/quietly-run-install.sh | ts)"
 - "time (pip install --exists-action w -r requirements/requirements.txt --use-mirrors)"
 - "time (bash -e .travis/misc-setup.sh | ts)"
 - "cp .travis/localsettings.py localsettings.py"
 - "pip install coverage unittest2 mock --use-mirrors"
script: "coverage run manage.py test --noinput --failfast"
after_success:
 - coverage report
 - coveralls
services:
 - postgresql
 - couchdb
 - rabbitmq
 - elasticsearch
 - memcache
 - redis-server
{'fraction_non_alphanumeric': 0.15210176991150443, 'fraction_numerical': 0.004424778761061947, 'mean_word_length': 3.2167832167832167, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1292493', 'n_tokens_mistral': 680, 'n_tokens_neox': 669, 'n_words': 158}