<commit_before>language: python
python:
  - 2.6
  - 2.7

env:
  - TDB_TYPE=sqlite SQLALCHEMY_DATABASE_URI="sqlite:///:memory:"
  - TDB_TYPE=postgres TDB_DRIVER=psycopg2 SQLALCHEMY_DATABASE_URI="postgresql+psycopg2://postgres:@127.0.0.1/pyfarm"
  - TDB_TYPE=mysql TDB_DRIVER=mysql-python SQLALCHEMY_DATABASE_URI="mysql+pymysql://travis:@127.0.0.1/pyfarm"


before_script:
  - if [[ $TDB_TYPE == "postgres" ]]; then psql -c "create database pyfarm;" -U postgres; fi
  - if [[ $TDB_TYPE == "mysql" ]]; then mysql -e "create database pyfarm;"; fi

install:
  - if [[ $TRAVIS_PYTHON_VERSION != "2.7" ]]; then pip install unittest2 simplejson --use-mirrors; fi
  - if [[ $TDB_DRIVER != "" ]]; then pip install $TDB_DRIVER; fi
  - pip install . --use-mirrors<commit_msg>driver name != module name<commit_after>language: python
python:
  - 2.6
  - 2.7

env:
  - TDB_TYPE=sqlite SQLALCHEMY_DATABASE_URI="sqlite:///:memory:"
  - TDB_TYPE=postgres TDB_DRIVER=psycopg2 SQLALCHEMY_DATABASE_URI="postgresql+psycopg2://postgres:@127.0.0.1/pyfarm"
  - TDB_TYPE=mysql TDB_DRIVER=mysql-python SQLALCHEMY_DATABASE_URI="mysql+mysqldb://travis:@127.0.0.1/pyfarm"

before_script:
  - if [[ $TDB_TYPE == "postgres" ]]; then psql -c "create database pyfarm;" -U postgres; fi
  - if [[ $TDB_TYPE == "mysql" ]]; then mysql -e "create database pyfarm;"; fi

install:
  - if [[ $TRAVIS_PYTHON_VERSION != "2.7" ]]; then pip install unittest2 simplejson --use-mirrors; fi
  - if [[ $TDB_DRIVER != "" ]]; then pip install $TDB_DRIVER; fi
  - pip install . --use-mirrors
{'fraction_non_alphanumeric': 0.16124837451235371, 'fraction_numerical': 0.027308192457737322, 'mean_word_length': 4.27054794520548, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '1615200', 'n_tokens_mistral': 652, 'n_tokens_neox': 636, 'n_words': 118}