sudo: false
language: python
cache:
  directories:
    - "$HOME/.cache/pip"
services:
  - mysql
env:
  - DATABASE=mysql DATABASE_USER=travis DATABASE_PASSWORD=
  - DATABASE=sqlite
python:
  - "2.7"
  - "3.4"
  - "3.5"
install: pip install -U pip tox-travis
script: tox

sudo: false
language: python
cache:
  directories:
    - "$HOME/.cache/pip"
services:
  - mysql
env:
  - DATABASE=mysql DATABASE_USER=travis DATABASE_PASSWORD=
  - DATABASE=sqlite
python:
  - "2.7"
  - "3.4"
  - "3.5"
install: pip install -U pip tox-travis codecov
script: tox
after_success: codecov -e TRAVIS_PYTHON_VERSION

Use Codecov.io for coverage reports
Travis: Use Codecov.io for coverage reports
