<commit_before>sudo: false
language: python
python:
    - 2.7
    - 3.2
    - 3.3
    - 3.4
env:
    - DATABASE_ENGINE=sqlite
    - DATABASE_ENGINE=postgres
    - DATABASE_ENGINE=mysql
matrix:
    fast_finish: true
install:
    - pip install -U setuptools
    - python bootstrap.py
    - ./bin/buildout -c travis.cfg testenv:DJANGO_SETTINGS_MODULE=zinnia.tests.implementations.$DATABASE_ENGINE
    - sh -c "if [ '$DATABASE_ENGINE' = 'postgres' ];
      then
        pip install psycopg2;
        psql -c 'create database zinnia;' -U postgres;
      fi"
    - sh -c "if [ '$DATABASE_ENGINE' = 'mysql' ];
      then
        pip install mysqlclient;
        mysql -e 'create database zinnia CHARACTER SET utf8 COLLATE utf8_general_ci;';
        mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql;
      fi"
before_script:
    - ./bin/flake8 zinnia
script:
    - ./bin/test
after_success:
    - ./bin/coveralls
notifications:
    irc:
        - "irc.freenode.org#django-blog-zinnia"
<commit_msg>Exclude Python 3.2 and MySQL build<commit_after>sudo: false
language: python
python:
    - 2.7
    - 3.2
    - 3.3
    - 3.4
env:
    - DATABASE_ENGINE=sqlite
    - DATABASE_ENGINE=postgres
    - DATABASE_ENGINE=mysql
matrix:
    exclude:
        - python: 3.2
          env: DATABASE_ENGINE=mysql
    fast_finish: true
install:
    - pip install -U setuptools
    - python bootstrap.py
    - ./bin/buildout -c travis.cfg testenv:DJANGO_SETTINGS_MODULE=zinnia.tests.implementations.$DATABASE_ENGINE
    - sh -c "if [ '$DATABASE_ENGINE' = 'postgres' ];
      then
        pip install psycopg2;
        psql -c 'create database zinnia;' -U postgres;
      fi"
    - sh -c "if [ '$DATABASE_ENGINE' = 'mysql' ];
      then
        pip install mysqlclient;
        mysql -e 'create database zinnia CHARACTER SET utf8 COLLATE utf8_general_ci;';
        mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql;
      fi"
before_script:
    - ./bin/flake8 zinnia
script:
    - ./bin/test
after_success:
    - ./bin/coveralls
notifications:
    irc:
        - "irc.freenode.org#django-blog-zinnia"

{'fraction_non_alphanumeric': 0.10824988078206962, 'fraction_numerical': 0.01335240820219361, 'mean_word_length': 2.346092503987241, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5845151', 'n_tokens_mistral': 808, 'n_tokens_neox': 768, 'n_words': 170}