language: python
python: 3.5
sudo: false
script:
  - python manage.py test
after_success:
  - pip install flake8 && flake8 .

language: python
python: 3.5
sudo: false
install:
  - pip install -r requirements.txt
  - pip install flake8
before_script:
  - flake8 .
script:
  - python manage.py test

Make flake8 actually cause errors on Travis
Make flake8 actually cause errors on Travis
