language: python
python:
  - "2.7"
install: pip install -r requirements.txt --use-mirrors
script:  nosetests -s .
services:
  - mongodb

language: python
python:
  - "2.7"
install: pip install -r requirements.txt --use-mirrors
before_script: flake8 --max-complexity 12 tavi
script:  nosetests -s .
services:
  - mongodb

Add flake8 to Travis before script.
Add flake8 to Travis before script.
