<commit_before>sudo: false
language: python
python: "3.4"
env:
    - TOX_ENV=py26
    - TOX_ENV=py27
    - TOX_ENV=py33
    - TOX_ENV=py34
    - TOX_ENV=pypy
    - TOX_ENV=pypy3

matrix:
   include:
     - addons:
        mariadb: 5.5
        env: TOX_ENV=py34
     - addons:
        mariadb: 10.0
        env: TOX_ENV=py34
     - addons:
        mariadb: 10.1
        env: TOX_ENV=py34

install:
    - pip install -U tox

before_script:
    - "mysql -e 'create database test_pymysql  DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'"
    - "mysql -e 'create database test_pymysql2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'"
    - "mysql -e 'select VERSION();'"
    - cp .travis.databases.json pymysql/tests/databases.json

script: tox -e $TOX_ENV
<commit_msg>Travis - env bits not for matrix.include<commit_after>sudo: false
language: python
python: "3.4"
env:
    - TOX_ENV=py26
    - TOX_ENV=py27
    - TOX_ENV=py33
    - TOX_ENV=py34
    - TOX_ENV=pypy
    - TOX_ENV=pypy3

matrix:
   include:
     - addons:
        mariadb: 5.5
     - addons:
        mariadb: 10.0
     - addons:
        mariadb: 10.1

install:
    - pip install -U tox

before_script:
    - "mysql -e 'create database test_pymysql  DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'"
    - "mysql -e 'create database test_pymysql2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'"
    - "mysql -e 'select VERSION();'"
    - cp .travis.databases.json pymysql/tests/databases.json

script: tox -e $TOX_ENV

{'fraction_non_alphanumeric': 0.10058785107772697, 'fraction_numerical': 0.03527106466361855, 'mean_word_length': 2.505720823798627, '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': '3973086', 'n_tokens_mistral': 636, 'n_tokens_neox': 615, 'n_words': 141}