<commit_before>language: python
python:
    - 2.6
    - 2.7
    - 3.3
env:
    - DJANGO=1.5 DB='sqlite://localhost/:memory:'
    - DJANGO=1.5 DB='mysql://root@127.0.0.1/dragomanblog_test'
    - DJANGO=1.5 DB='postgres://postgres@127.0.0.1/dragomanblog_test'
    - DJANGO=trunk DB='sqlite://localhost/:memory:'
    - DJANGO=trunk DB='mysql://root@127.0.0.1/dragomanblog_test'
    - DJANGO=trunk DB='postgres://postgres@127.0.0.1/dragomanblog_test'
    
before_script:
  - sh -c "if [ '$DB' = 'postgres://postgres@127.0.0.1/dragomanblog_test' ]; then psql -c 'DROP DATABASE IF EXISTS dragomanblog_test;' -U postgres; fi"
  - sh -c "if [ '$DB' = 'postgres://postgres@127.0.0.1/dragomanblog_test' ]; then psql -c 'create database dragomanblog_test;' -U postgres; fi"
  - sh -c "if [ '$DB' = 'mysql://root@127.0.0.1/dragomanblog_test' ]; then mysql -e 'create database IF NOT EXISTS dragomanblog_test CHARACTER SET utf8 COLLATE utf8_general_ci;'; fi"

install:
    - pip install -q -r "testing/requirements/django-$DJANGO.txt" --use-mirrors
    - if [ $DB == 'mysql://root@127.0.0.1/dragomanblog_test' ]; then pip install -q mysql-python --use-mirrors; fi
    - if [ $DB == 'postgres://postgres@127.0.0.1/dragomanblog_test' ]; then pip install -q psycopg2==2.4 --use-mirrors; fi
script:
    DATABASE_URL=$DB python develop.py test

matrix:
  exclude:
    - python: 3.3
      env: DJANGO=1.5 DB='mysql://root@127.0.0.1/dragomanblog_test'
    - python: 3.3
      env: DJANGO=trunk DB='mysql://root@127.0.0.1/dragomanblog_test'<commit_msg>exclude django trunk for now<commit_after>language: python
python:
    - 2.6
    - 2.7
    - 3.3
env:
    - DJANGO=1.5 DB='sqlite://localhost/:memory:'
    - DJANGO=1.5 DB='mysql://root@127.0.0.1/dragomanblog_test'
    - DJANGO=1.5 DB='postgres://postgres@127.0.0.1/dragomanblog_test'
#    - DJANGO=trunk DB='sqlite://localhost/:memory:'
#    - DJANGO=trunk DB='mysql://root@127.0.0.1/dragomanblog_test'
#    - DJANGO=trunk DB='postgres://postgres@127.0.0.1/dragomanblog_test'
    
before_script:
  - sh -c "if [ '$DB' = 'postgres://postgres@127.0.0.1/dragomanblog_test' ]; then psql -c 'DROP DATABASE IF EXISTS dragomanblog_test;' -U postgres; fi"
  - sh -c "if [ '$DB' = 'postgres://postgres@127.0.0.1/dragomanblog_test' ]; then psql -c 'create database dragomanblog_test;' -U postgres; fi"
  - sh -c "if [ '$DB' = 'mysql://root@127.0.0.1/dragomanblog_test' ]; then mysql -e 'create database IF NOT EXISTS dragomanblog_test CHARACTER SET utf8 COLLATE utf8_general_ci;'; fi"

install:
    - pip install -q -r "testing/requirements/django-$DJANGO.txt" --use-mirrors
    - if [ $DB == 'mysql://root@127.0.0.1/dragomanblog_test' ]; then pip install -q mysql-python --use-mirrors; fi
    - if [ $DB == 'postgres://postgres@127.0.0.1/dragomanblog_test' ]; then pip install -q psycopg2==2.4 --use-mirrors; fi
script:
    DATABASE_URL=$DB python develop.py test

matrix:
  exclude:
    - python: 3.3
      env: DJANGO=1.5 DB='mysql://root@127.0.0.1/dragomanblog_test'
    - python: 3.3
      env: DJANGO=trunk DB='mysql://root@127.0.0.1/dragomanblog_test'
{'fraction_non_alphanumeric': 0.17694805194805194, 'fraction_numerical': 0.05779220779220779, 'mean_word_length': 3.2732316227461857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 22, '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': '6087561', 'n_tokens_mistral': 1307, 'n_tokens_neox': 1243, 'n_words': 231}