<commit_before>language: python
python:
  - '2.7'
env:
  global:
    - ES_DIRECTORY=$(mktemp -d)
  matrix:
    - DJANGO_VERSION=1.7 
cache:
  directories:
    - $HOME/.pip-cache/
install:
  - wget --no-check-certificate -O - https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.3.tar.gz | tar xz --directory=$ES_DIRECTORY --strip-components=1
  - pushd ${ES_DIRECTORY}
  - bin/elasticsearch -d -D es.path.data=/tmp -D es.gateway.type=none -D es.index.store.type=memory -D es.discovery.zen.ping.multicast.enabled=false
  - popd 
  - pip install --download-cache $HOME/.pip-cache -q Django==$DJANGO_VERSION
  - pip install --download-cache $HOME/.pip-cache -r requirements-dev.txt
  - until curl http://localhost:9200/; do sleep 1; done
services:
  - postgresql
before_script:
  - psql -c 'create database bulbs;' -U postgres
script: py.test --cov bulbs --cov-report term-missing<commit_msg>I don't think that we need this hacky es thing anymore<commit_after>language: python
python:
  - '2.7'
env:
  matrix:
    - DJANGO_VERSION=1.7 
cache:
  directories:
    - $HOME/.pip-cache/
install:
  - pip install --download-cache $HOME/.pip-cache -q Django==$DJANGO_VERSION
  - pip install --download-cache $HOME/.pip-cache -r requirements-dev.txt
services:
  - postgresql
  - elasticsearch
before_script:
  - psql -c 'create database bulbs;' -U postgres
script: py.test --cov bulbs --cov-report term-missing
{'fraction_non_alphanumeric': 0.14085494043447794, 'fraction_numerical': 0.011913104414856343, 'mean_word_length': 3.25, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6143911', 'n_tokens_mistral': 515, 'n_tokens_neox': 497, 'n_words': 119}