language: python
python:
 - 2.6
 - 2.7
 - 3.2
 - 3.3
 - 3.4
env:
 - DB="sqlite" SAURL="sqlite:///:memory:"
 - DB="postgres" SAURL="postgresql://postgres:postgres@localhost/skosprovider_sqlalchemy"
 - DB="mysql" SAURL="mysql://travis:@localhost/skosprovider_sqlalchemy"
install:
 - python setup.py -q develop
 - pip install -r requirements-dev.txt
 # Install unittest2 on 2.6
 - "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi"
before_script:
 - "if [[ $DB = 'postgres' ]]; then psql -U postgres -c 'create database skosprovider_sqlalchemy'; fi"
 - "if [[ $DB = 'mysql' ]]; then mysql -e 'create database skosprovider_sqlalchemy'; fi"
script: 
 - py.test --sqlalchemy_url $SAURL -v --cov skosprovider_sqlalchemy
after_success: coveralls

language: python
python:
 - 2.6
 - 2.7
 - 3.2
 - 3.3
 - 3.4
env:
 - DB="sqlite" SAURL="sqlite:///:memory:"
 - DB="postgres" SAURL="postgresql://postgres:postgres@localhost/skosprovider_sqlalchemy"
 # - DB="mysql" SAURL="mysql://travis:@localhost/skosprovider_sqlalchemy"
install:
 - python setup.py -q develop
 - pip install -r requirements-dev.txt
 # Install unittest2 on 2.6
 - "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi"
before_script:
 - "if [[ $DB = 'postgres' ]]; then psql -U postgres -c 'create database skosprovider_sqlalchemy'; fi"
 - "if [[ $DB = 'mysql' ]]; then mysql -e 'create database skosprovider_sqlalchemy'; fi"
script: 
 - py.test --sqlalchemy_url $SAURL -v --cov skosprovider_sqlalchemy
after_success: coveralls

Stop trying to test mysql.
Stop trying to test mysql.

Couldn't find a decent py2/3 compatible mysql library out there.
