<commit_before>language: python
python:
  - "2.7"
install:
  - sudo apt-get update -qq
  - sudo apt-get install firefox
  - pip install -r requirements/test.txt
env:
  - DJANGO_SETTINGS_MODULE="coffeestats.settings.test" COFFEESTATS_MAIL_FROM_ADDRESS="<EMAIL>" COFFEESTATS_MYSQL_DATABASE="coffeestats" COFFEESTATS_MYSQL_HOSTNAME="127.0.0.1" COFFEESTATS_MYSQL_USER="travis" COFFEESTATS_MYSQL_PASSWORD="" COFFEESTATS_PIWIK_HOST="localhost" COFFEESTATS_PIWIK_SITEID="1" COFFEESTATS_RECAPTCHA_PRIVATEKEY="" COFFEESTATS_RECAPTCHA_PUBLICKEY="" COFFEESTATS_SITE_ADMINMAIL="<EMAIL>" COFFEESTATS_SITE_NAME="Coffeestats Travis CI testsite" COFFEESTATS_SITE_SECRET="6892a651-3f9f-4b6d-ad34-03531acf7a7e"
before-script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xfvb start"
script:
  - "cd coffeestats"
  - "python manage.py test"<commit_msg>setup database before test<commit_after>language: python
python:
  - "2.7"
install:
  - sudo apt-get update -qq
  - sudo apt-get install firefox
  - pip install -r requirements/test.txt
env:
  - DJANGO_SETTINGS_MODULE="coffeestats.settings.test" COFFEESTATS_MAIL_FROM_ADDRESS="<EMAIL>" COFFEESTATS_MYSQL_DATABASE="coffeestats" COFFEESTATS_MYSQL_HOSTNAME="127.0.0.1" COFFEESTATS_MYSQL_USER="travis" COFFEESTATS_MYSQL_PASSWORD="" COFFEESTATS_PIWIK_HOST="localhost" COFFEESTATS_PIWIK_SITEID="1" COFFEESTATS_RECAPTCHA_PRIVATEKEY="" COFFEESTATS_RECAPTCHA_PUBLICKEY="" COFFEESTATS_SITE_ADMINMAIL="<EMAIL>" COFFEESTATS_SITE_NAME="Coffeestats Travis CI testsite" COFFEESTATS_SITE_SECRET="<KEY>"
before-script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xfvb start"
  - mysql -e 'create database coffeestats;'
script:
  - "cd coffeestats"
  - "python manage.py test"
{'fraction_non_alphanumeric': 0.11574618096357227, 'fraction_numerical': 0.025851938895417155, 'mean_word_length': 6.671171171171171, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1110835', 'n_tokens_mistral': 743, 'n_tokens_neox': 722, 'n_words': 101}